Class MultiReaderHashBag.UntouchableIterator<T>

java.lang.Object
org.eclipse.collections.impl.bag.mutable.MultiReaderHashBag.UntouchableIterator<T>
All Implemented Interfaces:
Iterator<T>
Enclosing class:
MultiReaderHashBag<T>

private static final class MultiReaderHashBag.UntouchableIterator<T> extends Object implements Iterator<T>
  • Field Details

  • Constructor Details

    • UntouchableIterator

      private UntouchableIterator(Iterator<T> newDelegate)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public T next()
      Specified by:
      next in interface Iterator<T>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<T>
    • becomeUseless

      public void becomeUseless()