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

    • Constructor Summary

      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()
      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

        public final void remove()
        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>
        java.lang.UnsupportedOperationException - always