Class ImmutableArrayBag.ArrayBagIterator

java.lang.Object
org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag.ArrayBagIterator
All Implemented Interfaces:
Iterator<T>
Enclosing class:
ImmutableArrayBag<T>

private final class ImmutableArrayBag.ArrayBagIterator extends Object implements Iterator<T>
  • Field Details

    • position

      private int position
    • remainingOccurrences

      private int remainingOccurrences
  • Constructor Details

    • ArrayBagIterator

      private ArrayBagIterator()
  • 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>