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
-
Field Summary
Fields Modifier and Type Field Description private BooleanIterable
adapted
private BooleanProcedure
procedure
-
Constructor Summary
Constructors Constructor Description TapBooleanIterable(BooleanIterable delegate, BooleanProcedure procedure)
-
Method Summary
All Methods Instance Methods Concrete Methods 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, injectInto, isEmpty, makeString, makeString, makeString, notEmpty, reject, select, size, tap, toArray, toBag, toList, toSet, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, 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, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, reduce, reduceIfEmpty, reject, select, toArray
-
-
-
-
Field Detail
-
adapted
private final BooleanIterable adapted
-
procedure
private final BooleanProcedure procedure
-
-
Constructor Detail
-
TapBooleanIterable
public TapBooleanIterable(BooleanIterable delegate, BooleanProcedure procedure)
-
-
Method Detail
-
each
public void each(BooleanProcedure procedure)
Description copied from interface:BooleanIterable
A synonym for forEach.
-
anySatisfy
public boolean anySatisfy(BooleanPredicate predicate)
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
public boolean allSatisfy(BooleanPredicate predicate)
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
public boolean noneSatisfy(BooleanPredicate predicate)
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
public boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)
- Specified by:
detectIfNone
in interfaceBooleanIterable
- Overrides:
detectIfNone
in classAbstractLazyBooleanIterable
-
booleanIterator
public BooleanIterator booleanIterator()
Description copied from interface:BooleanIterable
Returns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style.
-
-