| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final CharIterable | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | each(Procedure<? super CharIterable> procedure)
Implements org. The procedure is executed for each element in the iterable. |
| public Iterator |
| adapted | back to summary |
|---|---|
| private final CharIterable adapted | |
| size | back to summary |
|---|---|
| private final int size | |
| ChunkCharIterable | back to summary |
|---|---|
| public ChunkCharIterable(CharIterable delegate, int size) | |
| each | back to summary |
|---|---|
| public void each(Procedure<? super CharIterable> 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 CharIterator | |
| private final int | |
| private final Function0 |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public CharIterable |
| iterator | back to summary |
|---|---|
| private final CharIterator iterator | |
| size | back to summary |
|---|---|
| private final int size | |
| speciesNewStrategy | back to summary |
|---|---|
| private final Function0<MutableCharCollection> speciesNewStrategy | |
| ChunkCharIterator | back to summary |
|---|---|
| public ChunkCharIterator(CharIterable iterable, int size) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public CharIterable next() Implements java. Doc from java. Returns the next element in the iteration.
| |