Class UnmodifiableListIteratorAdapter<T>
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.UnmodifiableListIteratorAdapter<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>,java.util.ListIterator<T>
public class UnmodifiableListIteratorAdapter<T> extends java.lang.Object implements java.util.ListIterator<T>
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableListIteratorAdapter(java.util.ListIterator<T> iterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(T o)booleanhasNext()booleanhasPrevious()Tnext()intnextIndex()Tprevious()intpreviousIndex()voidremove()voidset(T o)
-
-
-
Field Detail
-
iterator
private final java.util.ListIterator<? extends T> iterator
-
-
Constructor Detail
-
UnmodifiableListIteratorAdapter
public UnmodifiableListIteratorAdapter(java.util.ListIterator<T> iterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public T next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfacejava.util.ListIterator<T>
-
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()
-
-