Class TakeIterator<T>
java.lang.Object
org.eclipse.collections.impl.lazy.iterator.TakeIterator<T>
- All Implemented Interfaces:
Iterator<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate int -
Constructor Summary
ConstructorsConstructorDescriptionTakeIterator(Iterable<T> iterable, int count) TakeIterator(Iterator<T> iterator, int count) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
iterator
-
count
private final int count -
currentIndex
private int currentIndex
-
-
Constructor Details
-
TakeIterator
-
TakeIterator
-
-
Method Details
-
hasNext
-
next
-
remove
-