Package net.solarnetwork.domain.tariff
Class CompositeTariff
java.lang.Object
net.solarnetwork.domain.tariff.CompositeTariff
- All Implemented Interfaces:
Tariff
A composite collection of tariffs that act like a single
Tariff.
The getRates() will return a composite map out of all configured
tariff rate maps. The tariffs and their rate maps are iterated over in their
natural order, and duplicate keys are skipped.
- Since:
- 1.71
- Version:
- 1.0
- Author:
- matt
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.solarnetwork.domain.tariff.Tariff
Tariff.Rate -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.solarnetwork.domain.tariff.Tariff
toTemporalTariff
-
Constructor Details
-
CompositeTariff
Constructor.- Parameters:
tariffs- the tariffs
-
-
Method Details