public class IterableForIterator<T> extends Object implements ForIterator
Iterable and actually
handles the iteration of elements.| Constructor and Description |
|---|
IterableForIterator(boolean[] a) |
IterableForIterator(byte[] a) |
IterableForIterator(char[] a) |
IterableForIterator(double[] a) |
IterableForIterator(float[] a) |
IterableForIterator(int[] a) |
IterableForIterator(Iterable<T> c) |
IterableForIterator(Iterator<T> iterator) |
IterableForIterator(long[] a) |
IterableForIterator(short[] a) |
IterableForIterator(T[] a) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
first() |
boolean |
hasNext() |
int |
index() |
boolean |
last() |
T |
next() |
public IterableForIterator(T[] a)
public IterableForIterator(boolean[] a)
public IterableForIterator(byte[] a)
public IterableForIterator(char[] a)
public IterableForIterator(short[] a)
public IterableForIterator(int[] a)
public IterableForIterator(long[] a)
public IterableForIterator(float[] a)
public IterableForIterator(double[] a)
public T next()
public boolean hasNext()
public int index()
index in interface ForIteratorpublic boolean first()
first in interface ForIteratorpublic boolean last()
last in interface ForIteratorCopyright © 2016–2020 Fizzed, Inc. All rights reserved.