Class UnmodifiableListIterator<E>

    • Method Detail

      • set

        @Deprecated
        public final void set​(E e)
        Deprecated.
        Unsupported operation.
        Guaranteed to throw an exception and leave the underlying data unmodified.
        Specified by:
        set in interface ListIterator<E>
        Parameters:
        e - the element with which to replace the last element returned by next or previous
        Throws:
        UnsupportedOperationException - always