Class MultiReaderFastList.UntouchableListIterator<T>
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.MultiReaderFastList.UntouchableListIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>,java.util.ListIterator<T>
- Enclosing class:
- MultiReaderFastList<T>
private static final class MultiReaderFastList.UntouchableListIterator<T> extends java.lang.Object implements java.util.ListIterator<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateUntouchableListIterator(java.util.Iterator<T> newDelegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(T o)voidbecomeUseless()booleanhasNext()booleanhasPrevious()Tnext()intnextIndex()Tprevious()intpreviousIndex()voidremove()voidset(T o)
-
-
-
Field Detail
-
delegate
private java.util.Iterator<T> delegate
-
-
Constructor Detail
-
UntouchableListIterator
private UntouchableListIterator(java.util.Iterator<T> newDelegate)
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfacejava.util.ListIterator<T>
-
next
public T next()
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<T>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<T>
-
remove
public void remove()
-
becomeUseless
public void becomeUseless()
-
-