Class UnmodifiableListIterator<E>

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void add​(E e)
      Deprecated.
      Unsupported operation.
      void set​(E e)
      Deprecated.
      Unsupported operation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
      • Methods inherited from interface java.util.ListIterator

        hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove
    • Method Detail

      • add

        @Deprecated
        public final void add​(E e)
        Deprecated.
        Unsupported operation.
        Guaranteed to throw an exception and leave the underlying data unmodified.
        Specified by:
        add in interface java.util.ListIterator<E>
        Throws:
        java.lang.UnsupportedOperationException - always
      • 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 java.util.ListIterator<E>
        Throws:
        java.lang.UnsupportedOperationException - always