Class SetView.SetViewIterator<E>

  • Type Parameters:
    E - the type contains in the set
    All Implemented Interfaces:
    Iterator<E>
    Enclosing class:
    SetView<E>

    public static class SetView.SetViewIterator<E>
    extends Object
    implements Iterator<E>
    Iterator.
    • Constructor Detail

      • SetViewIterator

        public SetViewIterator​(SetView<E> view)
    • Method Detail

      • hasNext

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

        public E next()
        Specified by:
        next in interface Iterator<E>