Class DropIterator<T>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.iterator.DropIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
@Deprecated public final class DropIterator<T> extends java.lang.Object implements java.util.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.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Iterator<T>
delegateIterator
Deprecated.
-
Constructor Summary
Constructors Constructor Description DropIterator(java.lang.Iterable<T> iterable, int count)
Deprecated.DropIterator(java.util.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.
-
-
-
Field Detail
-
delegateIterator
private final java.util.Iterator<T> delegateIterator
Deprecated.
-
-