Class LimitedIterator<T>
java.lang.Object
org.eclipse.net4j.util.collection.AbstractIterator<T>
org.eclipse.net4j.util.collection.AbstractFilteredIterator<T>
org.eclipse.net4j.util.collection.LimitedIterator<T>
- Type Parameters:
T- the element type
- All Implemented Interfaces:
Iterator<T>
- Since:
- 3.3
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractFilteredIterator
AbstractFilteredIterator.Predicated<T> -
Field Summary
Fields inherited from class AbstractIterator
END_OF_DATA -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractFilteredIterator
computeNextElement, removeMethods inherited from class AbstractIterator
empty, hasNext, nextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
LimitedIterator
-
-
Method Details
-
getLimit
public final int getLimit() -
getCount
public final int getCount() -
isValid
- Specified by:
isValidin classAbstractFilteredIterator<T>
-