CharIterable, LazyCharIterable, PrimitiveIterablepublic class TapCharIterable extends AbstractLazyCharIterable
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TapCharIterable.TapCharIterator |
| Constructor | Description |
|---|---|
TapCharIterable(CharIterable delegate,
CharProcedure procedure) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
allSatisfy(CharPredicate predicate) |
Returns true if all of the elements in the CharIterable return true for the
specified predicate, otherwise returns false.
|
boolean |
anySatisfy(CharPredicate predicate) |
Returns true if any of the elements in the CharIterable return true for the
specified predicate, otherwise returns false.
|
CharIterator |
charIterator() |
Returns a primitive iterator that can be used to iterate over the CharIterable in an
imperative style.
|
char |
detectIfNone(CharPredicate predicate,
char ifNone) |
|
void |
each(CharProcedure procedure) |
A synonym for forEach.
|
boolean |
noneSatisfy(CharPredicate predicate) |
Returns true if none of the elements in the CharIterable return true for the
specified predicate, otherwise returns false.
|
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, flatCollect, forEach, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, notEmpty, reject, select, size, sum, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringaverageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatisticspublic TapCharIterable(CharIterable delegate, CharProcedure procedure)
public void each(CharProcedure procedure)
CharIterablepublic boolean anySatisfy(CharPredicate predicate)
CharIterableanySatisfy in interface CharIterableanySatisfy in class AbstractLazyCharIterablepublic boolean allSatisfy(CharPredicate predicate)
CharIterableallSatisfy in interface CharIterableallSatisfy in class AbstractLazyCharIterablepublic boolean noneSatisfy(CharPredicate predicate)
CharIterablenoneSatisfy in interface CharIterablenoneSatisfy in class AbstractLazyCharIterablepublic char detectIfNone(CharPredicate predicate, char ifNone)
detectIfNone in interface CharIterabledetectIfNone in class AbstractLazyCharIterablepublic CharIterator charIterator()
CharIterableCopyright © 2004–2020. All rights reserved.