Interface MutableBooleanValuesMap
- All Superinterfaces:
BooleanIterable
,BooleanValuesMap
,PrimitiveIterable
- All Known Subinterfaces:
MutableByteBooleanMap
,MutableCharBooleanMap
,MutableDoubleBooleanMap
,MutableFloatBooleanMap
,MutableIntBooleanMap
,MutableLongBooleanMap
,MutableShortBooleanMap
- All Known Implementing Classes:
AbstractMutableBooleanValuesMap
,ByteBooleanHashMap
,CharBooleanHashMap
,DoubleBooleanHashMap
,FloatBooleanHashMap
,IntBooleanHashMap
,LongBooleanHashMap
,ShortBooleanHashMap
,SynchronizedByteBooleanMap
,SynchronizedCharBooleanMap
,SynchronizedDoubleBooleanMap
,SynchronizedFloatBooleanMap
,SynchronizedIntBooleanMap
,SynchronizedLongBooleanMap
,SynchronizedShortBooleanMap
,UnmodifiableByteBooleanMap
,UnmodifiableCharBooleanMap
,UnmodifiableDoubleBooleanMap
,UnmodifiableFloatBooleanMap
,UnmodifiableIntBooleanMap
,UnmodifiableLongBooleanMap
,UnmodifiableShortBooleanMap
This file was automatically generated from template file mutablePrimitiveValuesMap.stg.
- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style.void
clear()
Removes all entries from this map.<V> MutableBag<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.reject
(BooleanPredicate predicate) Returns a new BooleanIterable with all of the elements in the BooleanIterable that return false for the specified predicate.select
(BooleanPredicate predicate) Returns a new BooleanIterable with all of the elements in the BooleanIterable that return true for the specified predicate.Methods inherited from interface org.eclipse.collections.api.BooleanIterable
allSatisfy, anySatisfy, asLazy, 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.map.primitive.BooleanValuesMap
containsValue, forEachValue, tap, values
Methods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
-
Method Details
-
select
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
- Specified by:
select
in interfaceBooleanValuesMap
-
reject
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
- Specified by:
reject
in interfaceBooleanValuesMap
-
collect
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
- Specified by:
collect
in interfaceBooleanValuesMap
-
clear
void clear()Removes all entries from this map. -
booleanIterator
MutableBooleanIterator booleanIterator()Description copied from interface:BooleanIterable
Returns a primitive iterator that can be used to iterate over the BooleanIterable in an imperative style.- Specified by:
booleanIterator
in interfaceBooleanIterable
-