E
- Type of element in the Listpublic class SCOListIterator<E> extends Object implements ListIterator<E>
Constructor and Description |
---|
SCOListIterator(List<E> sco,
ObjectProvider sm,
List<E> theDelegate,
ListStore<E> theStore,
boolean useDelegate,
int startIndex)
Constructor taking the delegate or backing store, and any start index.
|
Modifier and Type | Method and Description |
---|---|
void |
add(E o) |
boolean |
hasNext() |
boolean |
hasPrevious() |
E |
next() |
int |
nextIndex() |
E |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(E o) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public SCOListIterator(List<E> sco, ObjectProvider sm, List<E> theDelegate, ListStore<E> theStore, boolean useDelegate, int startIndex)
sco
- Owner SCOsm
- ObjectProvider of SCO List to iteratetheDelegate
- The delegate listtheStore
- The backing store (connected to the DB)useDelegate
- whether to use a delegatestartIndex
- The start index position (any value below 0 will mean start at index 0).public void add(E o)
add
in interface ListIterator<E>
public boolean hasNext()
public boolean hasPrevious()
hasPrevious
in interface ListIterator<E>
public E next()
public int nextIndex()
nextIndex
in interface ListIterator<E>
public E previous()
previous
in interface ListIterator<E>
public int previousIndex()
previousIndex
in interface ListIterator<E>
public void remove()
public void set(E o)
set
in interface ListIterator<E>
Copyright © 2018. All rights reserved.