Package org.codehaus.groovy.util
Class LongArrayIterator
java.lang.Object
org.codehaus.groovy.util.LongArrayIterator
- All Implemented Interfaces:
- java.util.Iterator<java.lang.Long>
public class LongArrayIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.Long>
Allow a longt array to be used where an Iterator is expected.
- Since:
- 3.0.8
- 
Constructor SummaryConstructors Constructor Description LongArrayIterator(long[] 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- 
LongArrayIteratorpublic LongArrayIterator(long[] array)
 
- 
- 
Method Details- 
hasNextpublic boolean hasNext()- Specified by:
- hasNextin interface- java.util.Iterator<java.lang.Long>
 
- 
nextpublic java.lang.Long next()- Specified by:
- nextin interface- java.util.Iterator<java.lang.Long>
 
- 
removepublic void remove()- Specified by:
- removein interface- java.util.Iterator<java.lang.Long>
 
 
-