Interface UnmodListIterator<E>

    • Method Detail

      • add

        @Deprecated
        default void add​(E element)
        Deprecated.
        Not allowed - this is supposed to be unmodifiable
        Specified by:
        add in interface java.util.ListIterator<E>
      • previousIndex

        default int previousIndex()
        Specified by:
        previousIndex in interface java.util.ListIterator<E>
      • remove

        @Deprecated
        default void remove()
        Deprecated.
        Not allowed - this is supposed to be unmodifiable
        Specified by:
        remove in interface java.util.Iterator<E>
        Specified by:
        remove in interface java.util.ListIterator<E>
        Specified by:
        remove in interface UnmodIterator<E>
      • set

        @Deprecated
        default void set​(E element)
        Deprecated.
        Not allowed - this is supposed to be unmodifiable
        Specified by:
        set in interface java.util.ListIterator<E>