Class UnmodifiableListIterator<E>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected UnmodifiableListIterator()
      Constructor for use by subclasses.
    • 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.

        , , , , , , , , , ,
      • Methods inherited from interface java.util.

      • Methods inherited from interface java.util.

        , , , , , ,
    • Method Detail

      • add

        public final void add​(E e)
        Deprecated.
        Unsupported operation.
        Guaranteed to throw an exception and leave the underlying data unmodified.
        Specified by:
         in interface <E>
        Parameters:
        e - the element to insert
        Throws:
        - always
      • set

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