Class TakeIterator<T>
java.lang.Object
org.eclipse.collections.impl.lazy.iterator.TakeIterator<T>
- All Implemented Interfaces:
Iterator<T>
Iterates over the first count elements of the iterator or the full size of the iterator
if the count is greater than the length of the receiver.
-
Constructor Summary
ConstructorDescriptionTakeIterator
(Iterable<T> iterable, int count) TakeIterator
(Iterator<T> iterator, int count) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining