Top Description Fields Constructors Methods
org.codehaus.groovy.util

public Class LongArrayIterable

extends Object
implements Iterable<Long>
Class Inheritance
All Implemented Interfaces
java.lang.Iterable
Imports
java.util.Iterator

Allow a long array to be used where an Iterable is expected.
Since
3.0.8

Field Summary

Modifier and TypeField and Description
private final long[]

Constructor Summary

AccessConstructor and Description
public
LongArrayIterable(long[] array)

Method Summary

Modifier and TypeMethod and Description
public Iterator<Long>
iterator()

Implements java.lang.Iterable.iterator.

Returns an iterator over elements of type T.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

arrayback to summary
private final long[] array

Constructor Detail

LongArrayIterableback to summary
public LongArrayIterable(long[] array)

Method Detail

iteratorback to summary
public Iterator<Long> iterator()

Implements java.lang.Iterable.iterator.

Doc from java.lang.Iterable.iterator.

Returns an iterator over elements of type T.

Returns:Iterator<Long>

an Iterator.

Annotations
@Override