public class IteratorPrimitiveIntWrapper
extends java.lang.Object
implements java.util.PrimitiveIterator.OfInt
| Constructor and Description |
|---|
IteratorPrimitiveIntWrapper(java.util.Iterator<java.lang.Integer> it) |
| Modifier and Type | Method and Description |
|---|---|
void |
forEachRemaining(java.util.function.Consumer<? super java.lang.Integer> c) |
boolean |
hasNext() |
int |
nextInt() |
public IteratorPrimitiveIntWrapper(java.util.Iterator<java.lang.Integer> it)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Integer>public int nextInt()
nextInt in interface java.util.PrimitiveIterator.OfIntpublic void forEachRemaining(java.util.function.Consumer<? super java.lang.Integer> c)
forEachRemaining in interface java.util.Iterator<java.lang.Integer>forEachRemaining in interface java.util.PrimitiveIterator.OfInt