Class ReverseBooleanIterable
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable
org.eclipse.collections.impl.lazy.primitive.ReverseBooleanIterable
- All Implemented Interfaces:
BooleanIterable,LazyBooleanIterable,PrimitiveIterable
This file was automatically generated from template file reversePrimitiveIterable.stg.
- Since:
- 5.0.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReverseBooleanIterableadapt(BooleanList booleanList) asLazy()Returns a LazyBooleanIterable adapter wrapping the source BooleanIterable.Returns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style.booleancontains(boolean value) Returns true if the value is contained in the BooleanIterable, and false if it is not.booleancontainsAll(boolean... source) Returns true if all of the values specified in the source array are contained in the BooleanIterable, and false if they are not.booleancontainsAll(BooleanIterable source) Returns true if all of the values specified in the source BooleanIterable are contained in the BooleanIterable, and false if they are not.voideach(BooleanProcedure procedure) A synonym for forEach.booleanisEmpty()Returns true if this iterable has zero items.booleannotEmpty()The English equivalent of !this.isEmpty()intsize()Returns the number of items in this iterable.boolean[]toArray()Converts the BooleanIterable to a primitive boolean array.toBag()Converts the BooleanIterable to a new MutableBooleanBag.toList()Converts the BooleanIterable to a new MutableBooleanList.toSet()Converts the BooleanIterable to a new MutableBooleanSet.Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable
allSatisfy, anySatisfy, appendString, appendString, appendString, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, tap, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-
Constructor Details
-
ReverseBooleanIterable
-
-
Method Details
-
adapt
-
booleanIterator
Description copied from interface:BooleanIterableReturns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style. -
each
Description copied from interface:BooleanIterableA synonym for forEach.- Since:
- 7.0.
-
toArray
public boolean[] toArray()Description copied from interface:BooleanIterableConverts the BooleanIterable to a primitive boolean array.- Specified by:
toArrayin interfaceBooleanIterable- Overrides:
toArrayin classAbstractLazyBooleanIterable
-
contains
public boolean contains(boolean value) Description copied from interface:BooleanIterableReturns true if the value is contained in the BooleanIterable, and false if it is not.- Specified by:
containsin interfaceBooleanIterable- Overrides:
containsin classAbstractLazyBooleanIterable
-
containsAll
public boolean containsAll(boolean... source) Description copied from interface:BooleanIterableReturns true if all of the values specified in the source array are contained in the BooleanIterable, and false if they are not.- Specified by:
containsAllin interfaceBooleanIterable- Overrides:
containsAllin classAbstractLazyBooleanIterable
-
containsAll
Description copied from interface:BooleanIterableReturns true if all of the values specified in the source BooleanIterable are contained in the BooleanIterable, and false if they are not.- Specified by:
containsAllin interfaceBooleanIterable- Overrides:
containsAllin classAbstractLazyBooleanIterable
-
size
public int size()Description copied from interface:PrimitiveIterableReturns the number of items in this iterable.- Specified by:
sizein interfacePrimitiveIterable- Overrides:
sizein classAbstractLazyBooleanIterable
-
isEmpty
public boolean isEmpty()Description copied from interface:PrimitiveIterableReturns true if this iterable has zero items.- Specified by:
isEmptyin interfacePrimitiveIterable- Overrides:
isEmptyin classAbstractLazyBooleanIterable
-
notEmpty
public boolean notEmpty()Description copied from interface:PrimitiveIterableThe English equivalent of !this.isEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable- Overrides:
notEmptyin classAbstractLazyBooleanIterable
-
toList
Description copied from interface:BooleanIterableConverts the BooleanIterable to a new MutableBooleanList.- Specified by:
toListin interfaceBooleanIterable- Overrides:
toListin classAbstractLazyBooleanIterable
-
toSet
Description copied from interface:BooleanIterableConverts the BooleanIterable to a new MutableBooleanSet.- Specified by:
toSetin interfaceBooleanIterable- Overrides:
toSetin classAbstractLazyBooleanIterable
-
toBag
Description copied from interface:BooleanIterableConverts the BooleanIterable to a new MutableBooleanBag.- Specified by:
toBagin interfaceBooleanIterable- Overrides:
toBagin classAbstractLazyBooleanIterable
-
asLazy
Description copied from interface:BooleanIterableReturns a LazyBooleanIterable adapter wrapping the source BooleanIterable.- Specified by:
asLazyin interfaceBooleanIterable- Overrides:
asLazyin classAbstractLazyBooleanIterable
-