T - The type of BaseEntity the list will containpublic class MemoryFixedListIterator<T extends BaseEntity> extends Object implements IClosableIterator<T>
Objects of this class should not be created directly as they are part of the internal logic.
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases all resources used by the class.
|
boolean |
hasNext()
Check if there are more entities to iterate over.
|
T |
next()
Returns the next entity for retrieval and increments the iteration.
|
void |
remove()
Not supported.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic 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>public void close()
IClosableIteratorclose in interface IClosableIterator<T extends BaseEntity>Copyright © 2015 51Degrees. All rights reserved.