Top Description Methods
org.eclipse.collections.api.collection.primitive

public Interface ImmutableBooleanCollection

extends BooleanIterable
Known Direct Subinterfaces
org.eclipse.collections.api.list.primitive.ImmutableBooleanList, org.eclipse.collections.api.set.primitive.ImmutableBooleanSet, org.eclipse.collections.api.bag.primitive.ImmutableBooleanBag
Imports
org.eclipse.collections.api.BooleanIterable, org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate, org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure, org.eclipse.collections.api.collection.ImmutableCollection

This file was automatically generated from template file immutablePrimitiveCollection.stg.
Since
3.0.

Method Summary

Modifier and TypeMethod and Description
public <V> ImmutableCollection<V>
collect(BooleanToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.BooleanIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection.

public ImmutableBooleanCollection
newWith(boolean element)

public ImmutableBooleanCollection
public ImmutableBooleanCollection
newWithout(boolean element)

public ImmutableBooleanCollection
public ImmutableBooleanCollection
reject(BooleanPredicate predicate)

Redeclares org.eclipse.collections.api.BooleanIterable.reject.

Returns a new BooleanIterable with all of the elements in the BooleanIterable that return false for the specified predicate.

public ImmutableBooleanCollection
select(BooleanPredicate predicate)

Redeclares org.eclipse.collections.api.BooleanIterable.select.

Returns a new BooleanIterable with all of the elements in the BooleanIterable that return true for the specified predicate.

public default ImmutableBooleanCollection
Inherited from org.eclipse.collections.api.BooleanIterable:
allSatisfyanySatisfyasLazybooleanIteratorchunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcontainsAnycontainsAnycontainsNonecontainsNonecountdetectIfNoneeachflatCollectforEachinjectIntoinjectIntoBooleaninjectIntoByteinjectIntoCharinjectIntoDoubleinjectIntoFloatinjectIntoIntinjectIntoLonginjectIntoShortnoneSatisfyreducereduceIfEmptyrejectselecttoArraytoArraytoBagtoListtoSet

Method Detail

collectback to summary
public <V> ImmutableCollection<V> collect(BooleanToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.BooleanIterable.collect.

Doc from org.eclipse.collections.api.BooleanIterable.collect.

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.

Annotations
@Override
newWithback to summary
public ImmutableBooleanCollection newWith(boolean element)
newWithAllback to summary
public ImmutableBooleanCollection newWithAll(BooleanIterable elements)
newWithoutback to summary
public ImmutableBooleanCollection newWithout(boolean element)
newWithoutAllback to summary
public ImmutableBooleanCollection newWithoutAll(BooleanIterable elements)
rejectback to summary
public ImmutableBooleanCollection reject(BooleanPredicate predicate)

Redeclares org.eclipse.collections.api.BooleanIterable.reject.

Doc from org.eclipse.collections.api.BooleanIterable.reject.

Returns a new BooleanIterable with all of the elements in the BooleanIterable that return false for the specified predicate.

Annotations
@Override
selectback to summary
public ImmutableBooleanCollection select(BooleanPredicate predicate)

Redeclares org.eclipse.collections.api.BooleanIterable.select.

Doc from org.eclipse.collections.api.BooleanIterable.select.

Returns a new BooleanIterable with all of the elements in the BooleanIterable that return true for the specified predicate.

Annotations
@Override
tapback to summary
public default ImmutableBooleanCollection tap(BooleanProcedure procedure)

Overrides default org.eclipse.collections.api.BooleanIterable.tap.

Annotations
@Override
Since
9.0.