Interface ImmutableBooleanCollection
-
- All Superinterfaces:
BooleanIterable
,PrimitiveIterable
- All Known Subinterfaces:
ImmutableBooleanBag
,ImmutableBooleanList
,ImmutableBooleanSet
- All Known Implementing Classes:
ImmutableBooleanArrayList
,ImmutableBooleanEmptyBag
,ImmutableBooleanEmptyList
,ImmutableBooleanEmptySet
,ImmutableBooleanHashBag
,ImmutableBooleanSingletonBag
,ImmutableBooleanSingletonList
,ImmutableFalseSet
,ImmutableTrueFalseSet
,ImmutableTrueSet
public interface ImmutableBooleanCollection extends BooleanIterable
This file was automatically generated from template file immutablePrimitiveCollection.stg.- Since:
- 3.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <V> ImmutableCollection<V>
collect(BooleanToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source collection.ImmutableBooleanCollection
newWith(boolean element)
ImmutableBooleanCollection
newWithAll(BooleanIterable elements)
ImmutableBooleanCollection
newWithout(boolean element)
ImmutableBooleanCollection
newWithoutAll(BooleanIterable elements)
ImmutableBooleanCollection
reject(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that return false for the specified predicate.ImmutableBooleanCollection
select(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that return true for the specified predicate.default ImmutableBooleanCollection
tap(BooleanProcedure procedure)
-
Methods inherited from interface org.eclipse.collections.api.BooleanIterable
allSatisfy, anySatisfy, asLazy, booleanIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, noneSatisfy, reduce, reduceIfEmpty, reject, select, toArray, toArray, toBag, toList, toSet
-
Methods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
-
-
-
-
Method Detail
-
collect
<V> ImmutableCollection<V> collect(BooleanToObjectFunction<? extends V> function)
Description copied from interface:BooleanIterable
Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.- Specified by:
collect
in interfaceBooleanIterable
-
tap
default ImmutableBooleanCollection tap(BooleanProcedure procedure)
- Specified by:
tap
in interfaceBooleanIterable
- Since:
- 9.0.
-
select
ImmutableBooleanCollection select(BooleanPredicate predicate)
Description copied from interface:BooleanIterable
Returns a new BooleanIterable with all of the elements in the BooleanIterable that return true for the specified predicate.- Specified by:
select
in interfaceBooleanIterable
-
reject
ImmutableBooleanCollection reject(BooleanPredicate predicate)
Description copied from interface:BooleanIterable
Returns a new BooleanIterable with all of the elements in the BooleanIterable that return false for the specified predicate.- Specified by:
reject
in interfaceBooleanIterable
-
newWith
ImmutableBooleanCollection newWith(boolean element)
-
newWithout
ImmutableBooleanCollection newWithout(boolean element)
-
newWithAll
ImmutableBooleanCollection newWithAll(BooleanIterable elements)
-
newWithoutAll
ImmutableBooleanCollection newWithoutAll(BooleanIterable elements)
-
-