public class LongLimit extends PrimitiveIterator.OfLong
| Constructor and Description |
|---|
LongLimit(PrimitiveIterator.OfLong iterator,
long maxSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
long |
nextLong() |
next, removepublic LongLimit(@NotNull
PrimitiveIterator.OfLong iterator,
long maxSize)
public boolean hasNext()
public long nextLong()
nextLong in class PrimitiveIterator.OfLong