public class IntPeek extends PrimitiveIterator.OfInt
| Constructor and Description |
|---|
IntPeek(PrimitiveIterator.OfInt iterator,
IntConsumer action) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
int |
nextInt() |
next, removepublic IntPeek(@NotNull
PrimitiveIterator.OfInt iterator,
@NotNull
IntConsumer action)
public boolean hasNext()
public int nextInt()
nextInt in class PrimitiveIterator.OfInt