org.mortbay.util
Class SingletonList.SIterator
java.lang.Object
org.mortbay.util.SingletonList.SIterator
- All Implemented Interfaces:
- Iterator, ListIterator
- Enclosing class:
- SingletonList
private class SingletonList.SIterator
- extends Object
- implements ListIterator
Field Summary |
(package private) int |
i
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i
int i
SingletonList.SIterator
SingletonList.SIterator()
SingletonList.SIterator
SingletonList.SIterator(int i)
add
public void add(Object o)
- Specified by:
add
in interface ListIterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
- Specified by:
hasNext
in interface ListIterator
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interface ListIterator
next
public Object next()
- Specified by:
next
in interface Iterator
- Specified by:
next
in interface ListIterator
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interface ListIterator
previous
public Object previous()
- Specified by:
previous
in interface ListIterator
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interface ListIterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
- Specified by:
remove
in interface ListIterator
set
public void set(Object o)
- Specified by:
set
in interface ListIterator