BooleanIterable, LazyBooleanIterable, PrimitiveIterablepublic class CollectCharToBooleanIterable extends AbstractLazyBooleanIterable
| Constructor | Description |
|---|---|
CollectCharToBooleanIterable(CharIterable iterable,
CharToBooleanFunction function) |
| Modifier and Type | Method | Description |
|---|---|---|
BooleanIterator |
booleanIterator() |
Returns a primitive iterator that can be used to iterate over the BooleanIterable in an
imperative style.
|
void |
each(BooleanProcedure procedure) |
A synonym for forEach.
|
boolean |
isEmpty() |
Returns true if this iterable has zero items.
|
boolean |
notEmpty() |
The English equivalent of !this.isEmpty()
|
int |
size() |
Returns the number of items in this iterable.
|
allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, flatCollect, forEach, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, tap, toArray, toBag, toList, toSet, toStringcollect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reduce, reduceIfEmpty, reject, selectpublic CollectCharToBooleanIterable(CharIterable iterable, CharToBooleanFunction function)
public void each(BooleanProcedure procedure)
BooleanIterablepublic BooleanIterator booleanIterator()
BooleanIterablepublic int size()
PrimitiveIterablesize in interface PrimitiveIterablesize in class AbstractLazyBooleanIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyBooleanIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyBooleanIterableCopyright © 2004–2020. All rights reserved.