| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ShortIterable | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | each(Procedure<? super ShortIterable> procedure)
Implements org. The procedure is executed for each element in the iterable. |
| public Iterator |
| adapted | back to summary |
|---|---|
| private final ShortIterable adapted | |
| size | back to summary |
|---|---|
| private final int size | |
| ChunkShortIterable | back to summary |
|---|---|
| public ChunkShortIterable(ShortIterable delegate, int size) | |
| each | back to summary |
|---|---|
| public void each(Procedure<? super ShortIterable> procedure) Implements org. Doc from org. The procedure is executed for each element in the iterable. Example using a Java 8 lambda expression: people.each(person -> LOGGER.info(person.getName()));This method is a variant of InternalIterable#forEach(Procedure)
that has a signature conflict with Iterable#forEach(java..
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ShortIterator | |
| private final int | |
| private final Function0 |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public ShortIterable |
| iterator | back to summary |
|---|---|
| private final ShortIterator iterator | |
| size | back to summary |
|---|---|
| private final int size | |
| speciesNewStrategy | back to summary |
|---|---|
| private final Function0<MutableShortCollection> speciesNewStrategy | |
| ChunkShortIterator | back to summary |
|---|---|
| public ChunkShortIterator(ShortIterable iterable, int size) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public ShortIterable next() Implements java. Doc from java. Returns the next element in the iteration.
| |