Class ListStoreIterator<E>
java.lang.Object
org.datanucleus.store.rdbms.scostore.ListStoreIterator<E>
- Type Parameters:
E
- Element type of the list store
- All Implemented Interfaces:
Iterator<E>
,ListIterator<E>
ListStore iterator for RDBMS datastores.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AbstractListStore
<E> private int
private final ListIterator
<E> private E
private final org.datanucleus.state.DNStateManager
-
Constructor Summary
ConstructorsConstructorDescriptionListStoreIterator
(org.datanucleus.state.DNStateManager sm, ResultSet resultSet, ResultObjectFactory rof, AbstractListStore<E> als) -
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
-
sm
private final org.datanucleus.state.DNStateManager sm -
delegate
-
lastElement
-
currentIndex
private int currentIndex -
abstractListStore
-
-
Constructor Details
-
ListStoreIterator
ListStoreIterator(org.datanucleus.state.DNStateManager sm, ResultSet resultSet, ResultObjectFactory rof, AbstractListStore<E> als)
-
-
Method Details
-
add
- Specified by:
add
in interfaceListIterator<E>
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<E>
-
next
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<E>
-
previous
- Specified by:
previous
in interfaceListIterator<E>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<E>
-
remove
public void remove() -
set
- Specified by:
set
in interfaceListIterator<E>
-
getOwnerMemberMetaData
protected org.datanucleus.metadata.AbstractMemberMetaData getOwnerMemberMetaData(Table containerTable) -
next
-