BooleanIterable, LazyBooleanIterable, PrimitiveIterablepublic class TapBooleanIterable extends AbstractLazyBooleanIterable
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TapBooleanIterable.TapBooleanIterator |
| Constructor | Description |
|---|---|
TapBooleanIterable(BooleanIterable delegate,
BooleanProcedure procedure) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
allSatisfy(BooleanPredicate predicate) |
Returns true if all of the elements in the BooleanIterable return true for the
specified predicate, otherwise returns false.
|
boolean |
anySatisfy(BooleanPredicate predicate) |
Returns true if any of the elements in the BooleanIterable return true for the
specified predicate, otherwise returns false.
|
BooleanIterator |
booleanIterator() |
Returns a primitive iterator that can be used to iterate over the BooleanIterable in an
imperative style.
|
boolean |
detectIfNone(BooleanPredicate predicate,
boolean ifNone) |
|
void |
each(BooleanProcedure procedure) |
A synonym for forEach.
|
boolean |
noneSatisfy(BooleanPredicate predicate) |
Returns true if none of the elements in the BooleanIterable return true for the
specified predicate, otherwise returns false.
|
appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, flatCollect, forEach, injectInto, isEmpty, makeString, makeString, makeString, notEmpty, reject, select, size, tap, toArray, toBag, toList, toSet, toStringcollect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reduce, reduceIfEmpty, reject, selectpublic TapBooleanIterable(BooleanIterable delegate, BooleanProcedure procedure)
public void each(BooleanProcedure procedure)
BooleanIterablepublic boolean anySatisfy(BooleanPredicate predicate)
BooleanIterableanySatisfy in interface BooleanIterableanySatisfy in class AbstractLazyBooleanIterablepublic boolean allSatisfy(BooleanPredicate predicate)
BooleanIterableallSatisfy in interface BooleanIterableallSatisfy in class AbstractLazyBooleanIterablepublic boolean noneSatisfy(BooleanPredicate predicate)
BooleanIterablenoneSatisfy in interface BooleanIterablenoneSatisfy in class AbstractLazyBooleanIterablepublic boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)
detectIfNone in interface BooleanIterabledetectIfNone in class AbstractLazyBooleanIterablepublic BooleanIterator booleanIterator()
BooleanIterableCopyright © 2004–2019. All rights reserved.