java.lang.Object
org.refcodes.struct.BoundedIterator<T>
- All Implemented Interfaces:
Iterator<T>
The
BoundedIterator
decorates an Iterator
to limit its
element to a maximum number.-
Constructor Summary
ConstructorDescriptionBoundedIterator
(Iterator<T> aIterator, int aLengthBounds) Decorates the givenIterator
with the given length bounds. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
Method Details