Class DistinctIterator<T>

java.lang.Object
org.eclipse.collections.impl.lazy.iterator.DistinctIterator<T>
All Implemented Interfaces:
Iterator<T>

public final class DistinctIterator<T> extends Object implements Iterator<T>
  • Constructor Details

    • DistinctIterator

      public DistinctIterator(Iterable<T> iterable)
    • DistinctIterator

      public DistinctIterator(Iterator<T> iterator)
  • Method Details

    • remove

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

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

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