Interface MutableCharValuesMap
- All Superinterfaces:
CharIterable
,CharValuesMap
,PrimitiveIterable
- All Known Subinterfaces:
MutableByteCharMap
,MutableCharCharMap
,MutableDoubleCharMap
,MutableFloatCharMap
,MutableIntCharMap
,MutableLongCharMap
,MutableShortCharMap
- All Known Implementing Classes:
AbstractMutableCharValuesMap
,ByteCharHashMap
,CharCharHashMap
,DoubleCharHashMap
,FloatCharHashMap
,IntCharHashMap
,LongCharHashMap
,ShortCharHashMap
,SynchronizedByteCharMap
,SynchronizedCharCharMap
,SynchronizedDoubleCharMap
,SynchronizedFloatCharMap
,SynchronizedIntCharMap
,SynchronizedLongCharMap
,SynchronizedShortCharMap
,UnmodifiableByteCharMap
,UnmodifiableCharCharMap
,UnmodifiableDoubleCharMap
,UnmodifiableFloatCharMap
,UnmodifiableIntCharMap
,UnmodifiableLongCharMap
,UnmodifiableShortCharMap
public interface MutableCharValuesMap extends CharValuesMap
This file was automatically generated from template file mutablePrimitiveValuesMap.stg.
- Since:
- 6.0.
-
Method Summary
Modifier and Type Method Description MutableCharIterator
charIterator()
Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.void
clear()
Removes all entries from this map.<V> MutableBag<V>
collect(CharToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source collection.MutableCharBag
reject(CharPredicate predicate)
Returns a new CharIterable with all of the elements in the CharIterable that return false for the specified predicate.MutableCharBag
select(CharPredicate predicate)
Returns a new CharIterable with all of the elements in the CharIterable that return true for the specified predicate.Methods inherited from interface org.eclipse.collections.api.CharIterable
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList
Methods inherited from interface org.eclipse.collections.api.map.primitive.CharValuesMap
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:CharIterable
Returns a new CharIterable with all of the elements in the CharIterable that return true for the specified predicate.- Specified by:
select
in interfaceCharIterable
- Specified by:
select
in interfaceCharValuesMap
-
reject
Description copied from interface:CharIterable
Returns a new CharIterable with all of the elements in the CharIterable that return false for the specified predicate.- Specified by:
reject
in interfaceCharIterable
- Specified by:
reject
in interfaceCharValuesMap
-
collect
Description copied from interface:CharIterable
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 interfaceCharIterable
- Specified by:
collect
in interfaceCharValuesMap
-
clear
void clear()Removes all entries from this map. -
charIterator
MutableCharIterator charIterator()Description copied from interface:CharIterable
Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.- Specified by:
charIterator
in interfaceCharIterable
-