Class CollectIterator<T,V>

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

public final class CollectIterator<T,V> extends Object implements Iterator<V>
  • Constructor Details

    • CollectIterator

      public CollectIterator(Iterable<T> iterable, Function<? super T,? extends V> function)
    • CollectIterator

      public CollectIterator(Iterator<T> newIterator, Function<? super T,? extends V> function)
  • 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 V next()
      Specified by:
      next in interface Iterator<T>