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

public Interface MutableBooleanValuesMap

extends BooleanValuesMap
Known Direct Subinterfaces
org.eclipse.collections.api.map.primitive.MutableByteBooleanMap, org.eclipse.collections.api.map.primitive.MutableShortBooleanMap, org.eclipse.collections.api.map.primitive.MutableFloatBooleanMap, org.eclipse.collections.api.map.primitive.MutableLongBooleanMap, org.eclipse.collections.api.map.primitive.MutableIntBooleanMap, org.eclipse.collections.api.map.primitive.MutableCharBooleanMap, org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMap
Imports
org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.MutableBooleanBag, org.eclipse.collections.api.block.function.primitive.BooleanToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.BooleanPredicate, org.eclipse.collections.api.iterator.MutableBooleanIterator

This file was automatically generated from template file mutablePrimitiveValuesMap.stg.
Since
6.0.

Method Summary

Modifier and TypeMethod and Description
public MutableBooleanIterator
booleanIterator()

Redeclares org.eclipse.collections.api.BooleanIterable.booleanIterator.

Returns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style.

public void
clear()

Removes all entries from this map.

public <V> MutableBag<V>
collect(BooleanToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.map.primitive.BooleanValuesMap.collect.

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

public MutableBooleanBag
reject(BooleanPredicate predicate)

Redeclares org.eclipse.collections.api.map.primitive.BooleanValuesMap.reject.

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

public MutableBooleanBag
select(BooleanPredicate predicate)

Redeclares org.eclipse.collections.api.map.primitive.BooleanValuesMap.select.

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

Inherited from org.eclipse.collections.api.map.primitive.BooleanValuesMap:
containsValueforEachValuetapvalues

Method Detail

booleanIteratorback to summary
public MutableBooleanIterator booleanIterator()

Redeclares org.eclipse.collections.api.BooleanIterable.booleanIterator.

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

Returns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style.

Annotations
@Override
clearback to summary
public void clear()

Removes all entries from this map.

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

Redeclares org.eclipse.collections.api.map.primitive.BooleanValuesMap.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
rejectback to summary
public MutableBooleanBag reject(BooleanPredicate predicate)

Redeclares org.eclipse.collections.api.map.primitive.BooleanValuesMap.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 MutableBooleanBag select(BooleanPredicate predicate)

Redeclares org.eclipse.collections.api.map.primitive.BooleanValuesMap.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