BooleanIterable, LazyBooleanIterable, PrimitiveIterablepublic class CollectIntToBooleanIterable extends AbstractLazyBooleanIterable
| Constructor | Description |
|---|---|
CollectIntToBooleanIterable(IntIterable iterable,
IntToBooleanFunction 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, 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, reject, selectpublic CollectIntToBooleanIterable(IntIterable iterable, IntToBooleanFunction 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–2017. All rights reserved.