T - The type of BaseEntity to iterate.public class StreamFixedListIterator<T extends BaseEntity> extends Object implements Iterator<T>
Objects of this class should not be created directly as they are part of the internal logic.
| Constructor and Description |
|---|
StreamFixedListIterator(StreamFixedList<T> streamFixedList)
Constructs the StreamFixedListIterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Gets if there are any more entities in the list.
|
T |
next()
Gets the next entity for retrieval and increments the iteration.
|
void |
remove()
remove is not supported.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic StreamFixedListIterator(StreamFixedList<T> streamFixedList)
streamFixedList - list to iterate over.public boolean hasNext()
hasNext in interface Iterator<T extends BaseEntity>public T next()
next in interface Iterator<T extends BaseEntity>public void remove()
remove in interface Iterator<T extends BaseEntity>Copyright © 2015 51Degrees. All rights reserved.