public class ArrayIterable<T> extends java.lang.Object implements IndexableIterable<T>
| Modifier and Type | Class and Description |
|---|---|
protected class |
ArrayIterable.Iterator |
| Constructor and Description |
|---|
ArrayIterable(T[] array) |
ArrayIterable(T[] array,
int firstIndex,
int lastIndex) |
public ArrayIterable(T[] array)
public ArrayIterable(T[] array, int firstIndex, int lastIndex)
@NonNull public T get(int index)
get in interface IndexableIterable<T>public java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T>public int size()
size in interface IndexableIterable<T>