Class DropIterator<T>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.iterator.DropIterator<T>
-
- All Implemented Interfaces:
Iterator<T>
@Deprecated public final class DropIterator<T> extends Object implements Iterator<T>
Deprecated.in 8.0. UseSelectIterator(Iterable, Predicate)
withDropIterablePredicate(int)
as a predicate instead.Iterates over the elements of the iterator skipping the first count elements or the full iterator if the count is non-positive.
-
-
Constructor Summary
Constructors Constructor Description DropIterator(Iterable<T> iterable, int count)
Deprecated.DropIterator(Iterator<T> iterator, int count)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
hasNext()
Deprecated.T
next()
Deprecated.void
remove()
Deprecated.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-