Class ImmutableSingletonBag.SingletonIterator

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

private class ImmutableSingletonBag.SingletonIterator extends Object implements Iterator<T>
  • Field Details

    • next

      private boolean next
  • Constructor Details

    • SingletonIterator

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