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 private
UntouchableListIterator(java.util.Iterator<T> newDelegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(T o)
void
becomeUseless()
boolean
hasNext()
boolean
hasPrevious()
T
next()
int
nextIndex()
T
previous()
int
previousIndex()
void
remove()
void
set(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:
hasPrevious
in interfacejava.util.ListIterator<T>
-
next
public T next()
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfacejava.util.ListIterator<T>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfacejava.util.ListIterator<T>
-
remove
public void remove()
-
becomeUseless
public void becomeUseless()
-
-