|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object structure.AbstractIterator structure.AbstractListIterator
public abstract class AbstractListIterator
Constructor Summary | |
---|---|
AbstractListIterator()
Default constructor (for base class invocation). |
Method Summary | |
---|---|
void |
add(java.lang.Object o)
|
abstract java.lang.Object |
get()
Returns the value currently being considered by the AbstractIterator. |
void |
remove()
If implemented, removes the currently visited value from the structure. |
void |
set(java.lang.Object o)
|
Methods inherited from class structure.AbstractIterator |
---|
hasMoreElements, hasNext, next, nextElement, reset, value |
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, hasPrevious, next, nextIndex, previous, previousIndex |
Constructor Detail |
---|
public AbstractListIterator()
Method Detail |
---|
public abstract java.lang.Object get()
AbstractIterator
Iterator
nor
Enumeration
. This method should be implemented,
however, to provide better support for for
-loops.
get
in class AbstractIterator
public void remove()
AbstractIterator
remove
should not be called unless it is overridden.
remove
in interface java.util.Iterator
remove
in interface java.util.ListIterator
remove
in class AbstractIterator
public void set(java.lang.Object o)
set
in interface java.util.ListIterator
public void add(java.lang.Object o)
add
in interface java.util.ListIterator
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |