Class UnmodifiableIterator<E extends @Nullable java.lang.Object>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected UnmodifiableIterator()
      Constructor for use by subclasses.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void remove()
      Deprecated.
      Unsupported operation.
      • Methods inherited from class java.lang.Object

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

        forEachRemaining, hasNext, next
    • Constructor Detail

    • Method Detail

      • remove

        @Deprecated
        public final void remove()
        Deprecated.
        Unsupported operation.
        Guaranteed to throw an exception and leave the underlying data unmodified.
        Specified by:
        remove in interface java.util.Iterator<E extends @Nullable java.lang.Object>
        Throws:
        java.lang.UnsupportedOperationException - always