Package org.codehaus.groovy.util
Class IntArrayIterator
java.lang.Object
org.codehaus.groovy.util.IntArrayIterator
- All Implemented Interfaces:
- java.util.Iterator<java.lang.Integer>
public class IntArrayIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.Integer>
Allow an int array to be used where an Iterator is expected.
- Since:
- 3.0.8
- 
Constructor SummaryConstructors Constructor Description IntArrayIterator(int[] array)
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining
- 
Constructor Details- 
IntArrayIteratorpublic IntArrayIterator(int[] array)
 
- 
- 
Method Details- 
hasNextpublic boolean hasNext()- Specified by:
- hasNextin interface- java.util.Iterator<java.lang.Integer>
 
- 
nextpublic java.lang.Integer next()- Specified by:
- nextin interface- java.util.Iterator<java.lang.Integer>
 
- 
removepublic void remove()- Specified by:
- removein interface- java.util.Iterator<java.lang.Integer>
 
 
-