Package de.mhus.lib.core.util
Class ImmutableListIterator<E>
- java.lang.Object
-
- de.mhus.lib.core.util.ImmutableListIterator<E>
-
- All Implemented Interfaces:
Iterator<E>,ListIterator<E>
public class ImmutableListIterator<E> extends Object implements ListIterator<E>
-
-
Constructor Summary
Constructors Constructor Description ImmutableListIterator(ListIterator<E> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(E o)booleanhasNext()booleanhasPrevious()Enext()intnextIndex()Eprevious()intpreviousIndex()voidremove()voidset(E o)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
ImmutableListIterator
public ImmutableListIterator(ListIterator<E> parent)
-
-
Method Detail
-
add
public void add(E o)
- Specified by:
addin interfaceListIterator<E>
-
hasNext
public boolean hasNext()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfaceListIterator<E>
-
next
public E next()
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfaceListIterator<E>
-
previous
public E previous()
- Specified by:
previousin interfaceListIterator<E>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfaceListIterator<E>
-
remove
public void remove()
-
set
public void set(E o)
- Specified by:
setin interfaceListIterator<E>
-
-