T
- The type of the data associated with each interval.@FunctionalInterface public static interface MergeTimeIntervalDataCallback.Function<T>
Modifier and Type | Method and Description |
---|---|
T |
invoke(T previous,
T newData)
A callback defining how two data elements on any two intervals should
be combined when creating a new interval.
|
T invoke(T previous, T newData)
previous
- The data existing on the original time interval.newData
- The data existing on the new time interval.previous
data and the newData
.