public interface ValueSegment<T extends java.lang.Comparable,V extends java.lang.Comparable> extends java.lang.Comparable<ValueSegment<T,V>>
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: ValueSegments
must be immutable objects.
| Modifier and Type | Method and Description |
|---|---|
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.
|
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by mockbuild at 2017-07-26 15:03