|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rutil.collection.AbstractIterator<E>
org.rutil.collection.AbstractListIterator<E>
public abstract class AbstractListIterator<E>
An index based datastructure backed iterator implementation. Implementors need to implement the abstract methods in AbstractIterator
AbstractIterator| Field Summary |
|---|
| Fields inherited from class org.rutil.collection.AbstractIterator |
|---|
curIndex |
| Constructor Summary | |
|---|---|
AbstractListIterator()
|
|
AbstractListIterator(int curIndex)
|
|
| Method Summary | |
|---|---|
void |
add(E e)
|
boolean |
hasPrevious()
|
int |
nextIndex()
|
E |
previous()
|
int |
previousIndex()
|
void |
set(E e)
|
| Methods inherited from class org.rutil.collection.AbstractIterator |
|---|
get, hasNext, next, remove, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.ListIterator |
|---|
hasNext, next, remove |
| Constructor Detail |
|---|
public AbstractListIterator()
public AbstractListIterator(int curIndex)
| Method Detail |
|---|
public boolean hasPrevious()
hasPrevious in interface java.util.ListIterator<E>public E previous()
previous in interface java.util.ListIterator<E>public int nextIndex()
nextIndex in interface java.util.ListIterator<E>public int previousIndex()
previousIndex in interface java.util.ListIterator<E>public void set(E e)
set in interface java.util.ListIterator<E>public void add(E e)
add in interface java.util.ListIterator<E>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||