Class TapBooleanIterable
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable
org.eclipse.collections.impl.lazy.primitive.TapBooleanIterable
- All Implemented Interfaces:
BooleanIterable
,LazyBooleanIterable
,PrimitiveIterable
public class TapBooleanIterable extends AbstractLazyBooleanIterable
This file was automatically generated from template file tapPrimitiveIterable.stg.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TapBooleanIterable.TapBooleanIterator
-
Constructor Summary
Constructors Constructor Description TapBooleanIterable(BooleanIterable delegate, BooleanProcedure procedure)
-
Method Summary
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.Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable
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, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.collections.api.BooleanIterable
collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reduce, reduceIfEmpty, reject, select, toArray
-
Constructor Details
-
Method Details
-
each
Description copied from interface:BooleanIterable
A synonym for forEach. -
anySatisfy
Description copied from interface:BooleanIterable
Returns true if any of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfy
in interfaceBooleanIterable
- Overrides:
anySatisfy
in classAbstractLazyBooleanIterable
-
allSatisfy
Description copied from interface:BooleanIterable
Returns true if all of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfy
in interfaceBooleanIterable
- Overrides:
allSatisfy
in classAbstractLazyBooleanIterable
-
noneSatisfy
Description copied from interface:BooleanIterable
Returns true if none of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.- Specified by:
noneSatisfy
in interfaceBooleanIterable
- Overrides:
noneSatisfy
in classAbstractLazyBooleanIterable
-
detectIfNone
- Specified by:
detectIfNone
in interfaceBooleanIterable
- Overrides:
detectIfNone
in classAbstractLazyBooleanIterable
-
booleanIterator
Description copied from interface:BooleanIterable
Returns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style.
-