Package org.codehaus.groovy.util
Class LongArrayIterable
java.lang.Object
org.codehaus.groovy.util.LongArrayIterable
- All Implemented Interfaces:
- java.lang.Iterable<java.lang.Long>
public class LongArrayIterable
extends java.lang.Object
implements java.lang.Iterable<java.lang.Long>
Allow a long array to be used where an Iterable is expected.
- Since:
- 3.0.8
- 
Constructor SummaryConstructors Constructor Description LongArrayIterable(long[] array)
- 
Method SummaryModifier and Type Method Description java.util.Iterator<java.lang.Long>iterator()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
LongArrayIterablepublic LongArrayIterable(long[] array)
 
- 
- 
Method Details- 
iteratorpublic java.util.Iterator<java.lang.Long> iterator()- Specified by:
- iteratorin interface- java.lang.Iterable<java.lang.Long>
 
 
-