T
- public class LimitIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
Constructor and Description |
---|
LimitIterator(java.util.Iterator<T> it,
long limit) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |