|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jga.algorithms.Reverse.ReverseIterator<T>
public static class Reverse.ReverseIterator<T>
Constructor Summary | |
---|---|
Reverse.ReverseIterator(java.util.ListIterator<T> iter)
|
Method Summary | |
---|---|
void |
add(T arg)
|
boolean |
hasNext()
|
boolean |
hasPrevious()
|
T |
next()
|
int |
nextIndex()
|
T |
previous()
|
int |
previousIndex()
|
void |
remove()
|
void |
set(T arg)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Reverse.ReverseIterator(java.util.ListIterator<T> iter)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
hasNext
in interface java.util.ListIterator<T>
public boolean hasPrevious()
hasPrevious
in interface java.util.ListIterator<T>
public T next()
next
in interface java.util.Iterator<T>
next
in interface java.util.ListIterator<T>
public T previous()
previous
in interface java.util.ListIterator<T>
public int nextIndex()
nextIndex
in interface java.util.ListIterator<T>
public int previousIndex()
previousIndex
in interface java.util.ListIterator<T>
public void remove()
remove
in interface java.util.Iterator<T>
remove
in interface java.util.ListIterator<T>
public void set(T arg)
set
in interface java.util.ListIterator<T>
public void add(T arg)
add
in interface java.util.ListIterator<T>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |