| Package | Description |
|---|---|
| com.github.fracpete.javautils | |
| com.github.fracpete.javautils.enumerate |
| Modifier and Type | Method | Description |
|---|---|---|
static <E> java.lang.Iterable<Enumerated<E>> |
Enumerate.enumerate(E[] array) |
Returns an Iterable wrapper around an array that combines index
(starting at 0 with step 1) and value of the array item in the returned
container object (
Enumeration). |
static <E> java.lang.Iterable<Enumerated<E>> |
Enumerate.enumerate(E[] array,
int start) |
Returns an Iterable wrapper around an array that combines index
(starting at "start" with step 1) and value of the array item in the returned
container object (
Enumeration). |
static <E> java.lang.Iterable<Enumerated<E>> |
Enumerate.enumerate(E[] array,
int start,
int step) |
Returns an Iterable wrapper around an array that combines index
(starting at "start" with step size "step") and value of the array item in the returned
container object (
Enumeration). |
static <E> java.lang.Iterable<Enumerated<E>> |
Enumerate.enumerate(java.lang.Iterable<E> iterable) |
Returns an Iterable wrapper around an Iterable that combines index
(starting at 0 with step 1) and value of the Iterable in the returned
container object (
Enumeration). |
static <E> java.lang.Iterable<Enumerated<E>> |
Enumerate.enumerate(java.lang.Iterable<E> iterable,
int start) |
Returns an Iterable wrapper around an Iterable that combines index
(starting at "start" with step 1) and value of the Iterable in the returned
container object (
Enumeration). |
static <E> java.lang.Iterable<Enumerated<E>> |
Enumerate.enumerate(java.lang.Iterable<E> iterable,
int start,
int step) |
Returns an Iterable wrapper around an Iterable that combines index
(starting at "start" with step size "step") and value of the Iterable in the returned
container object (
Enumeration). |
static <E> java.util.Iterator<Enumerated<E>> |
Enumerate.enumerate(java.util.Iterator<E> iterable) |
Returns an Iterable wrapper around an Iterator that combines index
(starting at 0 with step 1) and value of the Iterable in the returned
container object (
Enumeration). |
static <E> java.util.Iterator<Enumerated<E>> |
Enumerate.enumerate(java.util.Iterator<E> iterable,
int start) |
Returns an Iterable wrapper around an Iterator that combines index
(starting at "start" with step 1) and value of the Iterable in the returned
container object (
Enumeration). |
static <E> java.util.Iterator<Enumerated<E>> |
Enumerate.enumerate(java.util.Iterator<E> iterable,
int start,
int step) |
Returns an Iterable wrapper around an Iterator that combines index
(starting at "start" with step size "step") and value of the Iterable in the returned
container object (
Enumeration). |
| Modifier and Type | Method | Description |
|---|---|---|
Enumerated<T> |
Enumerator.next() |
Returns the next element wrapper.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Iterator<Enumerated<T>> |
Enumeration.iterator() |
Returns the iterator.
|
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.