org.flexiblepower.ral.values
Constructor and Description |
---|
Profile.Element(javax.measure.Measurable<javax.measure.quantity.Duration> duration,
T value)
Creates a new instance of element.
|
Modifier and Type | Method and Description |
---|---|
javax.measure.Measurable<javax.measure.quantity.Duration> |
getDuration() |
T |
getValue() |
java.lang.String |
toString() |
public Profile.Element(javax.measure.Measurable<javax.measure.quantity.Duration> duration, T value)
duration
- The duration of the Profile.Element
in the profilevalue
- The value corresponding to that durationpublic javax.measure.Measurable<javax.measure.quantity.Duration> getDuration()
public T getValue()
public java.lang.String toString()
toString
in class java.lang.Object