Class ImmutableSortedBagImpl.InternalIterator

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

private class ImmutableSortedBagImpl.InternalIterator extends Object implements Iterator<T>
  • Field Details

    • position

      private int position
    • occurrencesRemaining

      private int occurrencesRemaining
  • Constructor Details

    • InternalIterator

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