Class SingleEventIterator
java.lang.Object
com.espertech.esper.common.internal.collection.SingleEventIterator
A utility class for an iterator that has one element.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSingleEventIterator
(EventBean eventBean) Constructor, takes the single event to iterate over as a parameter. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
SingleEventIterator
Constructor, takes the single event to iterate over as a parameter. The single event can be null indicating that there are no more elements.- Parameters:
eventBean
- single bean that the iterator returns, or null for an empty iterator
-
-
Method Details