T
- The type of the event.public interface EventsArray<T> extends java.lang.Iterable<java.util.Optional<InstantEvent<T>>>
Modifier and Type | Method and Description |
---|---|
java.util.Optional<InstantEvent<T>> |
getEventAt(int index) |
int |
getSize() |
default java.util.Iterator<java.util.Optional<InstantEvent<T>>> |
iterator() |
java.util.stream.Stream<java.util.Optional<InstantEvent<T>>> |
toStream() |
int getSize()
java.util.Optional<InstantEvent<T>> getEventAt(int index)
java.util.stream.Stream<java.util.Optional<InstantEvent<T>>> toStream()
default java.util.Iterator<java.util.Optional<InstantEvent<T>>> iterator()
iterator
in interface java.lang.Iterable<java.util.Optional<InstantEvent<T>>>