public static interface PrimitiveIterator.OfInt extends PrimitiveIterator<Integer,IntConsumer>
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong
Modifier and Type | Method and Description |
---|---|
default void |
forEachRemaining(Consumer<? super Integer> consumer) |
default void |
forEachRemaining(IntConsumer consumer) |
default Integer |
next() |
int |
nextInt() |
int nextInt()
default void forEachRemaining(IntConsumer consumer)
forEachRemaining
in interface PrimitiveIterator<Integer,IntConsumer>
default void forEachRemaining(Consumer<? super Integer> consumer)
forEachRemaining
in interface Iterator<Integer>
Copyright © 2018. All rights reserved.