public interface AggregationStateLinear
Modifier and Type | Method and Description |
---|---|
Collection<EventBean> |
collectionReadOnly()
Returns all events for the group.
|
EventBean |
getFirstNthValue(int index)
Counting from the first element to the last, returns the oldest (first) value entered for index zero
and the n-th oldest value for index N.
|
EventBean |
getFirstValue()
Returns the first (oldest) value entered.
|
EventBean |
getLastNthValue(int index)
Counting from the last element to the first, returns the newest (last) value entered for index zero
and the n-th newest value for index N.
|
EventBean |
getLastValue()
Returns the newest (last) value entered.
|
Iterator<EventBean> |
iterator()
Returns all events for the group.
|
int |
size()
Returns the number of events in the group.
|
EventBean getFirstValue()
EventBean getLastValue()
EventBean getFirstNthValue(int index)
index
- indexEventBean getLastNthValue(int index)
index
- indexIterator<EventBean> iterator()
Collection<EventBean> collectionReadOnly()
int size()