Modifier and Type | Method and Description |
---|---|
static <T> IteratorArray<T> |
create(T[] array)
Iterator over all the array elements
|
static <T> IteratorArray<T> |
create(T[] array,
int start,
int finish)
Iterator over array elements from start (inclusive) to finish (exclusive)
|
T |
current() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
public static <T> IteratorArray<T> create(T[] array)
public static <T> IteratorArray<T> create(T[] array, int start, int finish)
public T current()
Licenced under the Apache License, Version 2.0