Package org.organicdesign.fp.collections
Interface UnmodListIterator<E>
-
- All Superinterfaces:
Iterator<E>,ListIterator<E>,UnmodIterator<E>,UnmodSortedIterator<E>
public interface UnmodListIterator<E> extends ListIterator<E>, UnmodSortedIterator<E>
An unmodifiable ListIterator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.organicdesign.fp.collections.UnmodIterator
UnmodIterator.UnIterator
-
Nested classes/interfaces inherited from interface org.organicdesign.fp.collections.UnmodSortedIterator
UnmodSortedIterator.Wrapper<E>
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidadd(E element)Deprecated.default intpreviousIndex()default voidremove()Deprecated.default voidset(E element)Deprecated.-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Methods inherited from interface java.util.ListIterator
hasNext, hasPrevious, next, nextIndex, previous
-
-
-
-
Method Detail
-
add
@Deprecated default void add(E element)
Deprecated.Not allowed - this is supposed to be unmodifiable- Specified by:
addin interfaceListIterator<E>
-
previousIndex
default int previousIndex()
- Specified by:
previousIndexin interfaceListIterator<E>
-
remove
@Deprecated default void remove()
Deprecated.Not allowed - this is supposed to be unmodifiable- Specified by:
removein interfaceIterator<E>- Specified by:
removein interfaceListIterator<E>- Specified by:
removein interfaceUnmodIterator<E>
-
set
@Deprecated default void set(E element)
Deprecated.Not allowed - this is supposed to be unmodifiable- Specified by:
setin interfaceListIterator<E>
-
-