|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueSegment<T extends Comparable,V extends Comparable>
A ValueSegment represents a stable value within a segment of
Comparable
values. For example, instances could represent the
average temperature each hour of the day. The start and end values of the
ValueSegment
would be the Timestamps of the start and end of the
hour and the value would be the Float representing the average temperature
for that hour.
Note: ValueSegment
s
must be immutable objects.
Method Summary | |
---|---|
T |
getEnd()
Returns the value marking the end of this segment. |
T |
getStart()
Returns the value marking the start of this segment. |
V |
getValue()
Returns the value observed within this segment. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
T getStart()
T getEnd()
V getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |