| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final T[] | |
| private final int | |
| private final boolean | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public @NotNull ReversibleIterator | iterator()
Implements com. Returns an iterator over elements of type |
| public static <T> ArrayIterable | |
| public @NotNull ReversibleIterable | |
| public @NotNull ReversibleIterator |
| array | back to summary |
|---|---|
| private final T[] array | |
| endIndex | back to summary |
|---|---|
| private final int endIndex | |
| isReversed | back to summary |
|---|---|
| private final boolean isReversed | |
| startIndex | back to summary |
|---|---|
| private final int startIndex | |
| ArrayIterable | back to summary |
|---|---|
| public ArrayIterable(T[] array) | |
| ArrayIterable | back to summary |
|---|---|
| public ArrayIterable(T[] array, int startIndex) | |
| ArrayIterable | back to summary |
|---|---|
| public ArrayIterable(T[] array, int startIndex, int endIndex) | |
| ArrayIterable | back to summary |
|---|---|
| public ArrayIterable(T[] array, int startIndex, int endIndex, boolean isReversed) | |
| isReversed | back to summary |
|---|---|
| public boolean isReversed() Implements com.
| |
| iterator | back to summary |
|---|---|
| public @NotNull ReversibleIterator Implements com. Doc from java. Returns an iterator over elements of type
| |
| of | back to summary |
|---|---|
| public static <T> ArrayIterable | |
| reversed | back to summary |
|---|---|
| public @NotNull ReversibleIterable Implements com. | |
| reversedIterator | back to summary |
|---|---|
| public @NotNull ReversibleIterator Implements com. | |
| Modifier and Type | Field and Description |
|---|---|
| private final E[] | |
| private final int | |
| private int | |
| private final boolean | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public E |
| array | back to summary |
|---|---|
| private final E[] array | |
| endIndex | back to summary |
|---|---|
| private final int endIndex | |
| index | back to summary |
|---|---|
| private int index | |
| isReversed | back to summary |
|---|---|
| private final boolean isReversed | |
| startIndex | back to summary |
|---|---|
| private final int startIndex | |
| MyIterator | back to summary |
|---|---|
| public MyIterator(E[] array, int startIndex, int endIndex, boolean isReversed) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| isReversed | back to summary |
|---|---|
| public boolean isReversed() Implements com.
| |
| next | back to summary |
|---|---|
| public E next() Implements java. Doc from java. Returns the next element in the iteration.
| |