Package org.organicdesign.fp.collections
Interface UnmodListIterator<E>
-
- All Superinterfaces:
java.util.Iterator<E>,java.util.ListIterator<E>,UnmodIterator<E>,UnmodSortedIterator<E>
public interface UnmodListIterator<E> extends java.util.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.
-
-
-
Method Detail
-
add
@Deprecated default void add(E element)
Deprecated.Not allowed - this is supposed to be unmodifiable- Specified by:
addin interfacejava.util.ListIterator<E>
-
previousIndex
default int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<E>
-
remove
@Deprecated default void remove()
Deprecated.Not allowed - this is supposed to be unmodifiable- Specified by:
removein interfacejava.util.Iterator<E>- Specified by:
removein interfacejava.util.ListIterator<E>- Specified by:
removein interfaceUnmodIterator<E>
-
-