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 classTapBooleanIterable.TapBooleanIterator
-
Field Summary
Fields Modifier and Type Field Description private BooleanIterableadaptedprivate BooleanProcedureprocedure
-
Constructor Summary
Constructors Constructor Description TapBooleanIterable(BooleanIterable delegate, BooleanProcedure procedure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(BooleanPredicate predicate)Returns true if all of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.booleananySatisfy(BooleanPredicate predicate)Returns true if any of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.BooleanIteratorbooleanIterator()Returns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style.booleandetectIfNone(BooleanPredicate predicate, boolean ifNone)voideach(BooleanProcedure procedure)A synonym for forEach.booleannoneSatisfy(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:BooleanIterableA synonym for forEach.
-
anySatisfy
public boolean anySatisfy(BooleanPredicate predicate)
Description copied from interface:BooleanIterableReturns true if any of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfyin interfaceBooleanIterable- Overrides:
anySatisfyin classAbstractLazyBooleanIterable
-
allSatisfy
public boolean allSatisfy(BooleanPredicate predicate)
Description copied from interface:BooleanIterableReturns true if all of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfyin interfaceBooleanIterable- Overrides:
allSatisfyin classAbstractLazyBooleanIterable
-
noneSatisfy
public boolean noneSatisfy(BooleanPredicate predicate)
Description copied from interface:BooleanIterableReturns true if none of the elements in the BooleanIterable return true for the specified predicate, otherwise returns false.- Specified by:
noneSatisfyin interfaceBooleanIterable- Overrides:
noneSatisfyin classAbstractLazyBooleanIterable
-
detectIfNone
public boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)
- Specified by:
detectIfNonein interfaceBooleanIterable- Overrides:
detectIfNonein classAbstractLazyBooleanIterable
-
booleanIterator
public BooleanIterator booleanIterator()
Description copied from interface:BooleanIterableReturns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style.
-
-