public interface MutableObjectCharMap<K> extends ObjectCharMap<K>
Modifier and Type | Method and Description |
---|---|
char |
addToValue(K key,
char toBeAdded) |
MutableObjectCharMap<K> |
asSynchronized() |
MutableObjectCharMap<K> |
asUnmodifiable() |
MutableCharIterator |
charIterator()
Returns a primitive iterator that can be used to iterate over the CharIterable in an
imperative style.
|
void |
clear() |
<V> MutableCollection<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.
|
char |
getIfAbsentPut(K key,
char value) |
char |
getIfAbsentPut(K key,
CharFunction0 function) |
<P> char |
getIfAbsentPutWith(K key,
CharFunction<? super P> function,
P parameter) |
char |
getIfAbsentPutWithKey(K key,
CharFunction<? super K> function) |
void |
put(K key,
char value) |
void |
putAll(ObjectCharMap<? extends K> map) |
MutableCharCollection |
reject(CharPredicate predicate)
Returns a new CharIterable with all of the elements in the CharIterable that
return false for the specified predicate.
|
MutableObjectCharMap<K> |
reject(ObjectCharPredicate<? super K> predicate) |
void |
remove(Object key) |
void |
removeKey(K key) |
char |
removeKeyIfAbsent(K key,
char value) |
MutableCharCollection |
select(CharPredicate predicate)
Returns a new CharIterable with all of the elements in the CharIterable that
return true for the specified predicate.
|
MutableObjectCharMap<K> |
select(ObjectCharPredicate<? super K> predicate) |
char |
updateValue(K key,
char initialValueIfAbsent,
CharToCharFunction function) |
MutableObjectCharMap<K> |
withKeyValue(K key,
char value) |
MutableObjectCharMap<K> |
withoutAllKeys(Iterable<? extends K> keys) |
MutableObjectCharMap<K> |
withoutKey(K key) |
containsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, values
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
MutableCharIterator charIterator()
CharIterable
charIterator
in interface CharIterable
void clear()
void put(K key, char value)
void putAll(ObjectCharMap<? extends K> map)
void removeKey(K key)
void remove(Object key)
char removeKeyIfAbsent(K key, char value)
char getIfAbsentPut(K key, char value)
char getIfAbsentPut(K key, CharFunction0 function)
char getIfAbsentPutWithKey(K key, CharFunction<? super K> function)
<P> char getIfAbsentPutWith(K key, CharFunction<? super P> function, P parameter)
char updateValue(K key, char initialValueIfAbsent, CharToCharFunction function)
MutableObjectCharMap<K> select(ObjectCharPredicate<? super K> predicate)
select
in interface ObjectCharMap<K>
MutableObjectCharMap<K> reject(ObjectCharPredicate<? super K> predicate)
reject
in interface ObjectCharMap<K>
MutableCharCollection select(CharPredicate predicate)
CharIterable
select
in interface CharIterable
MutableCharCollection reject(CharPredicate predicate)
CharIterable
reject
in interface CharIterable
<V> MutableCollection<V> collect(CharToObjectFunction<? extends V> function)
CharIterable
collect
in interface CharIterable
MutableObjectCharMap<K> withKeyValue(K key, char value)
MutableObjectCharMap<K> withoutKey(K key)
MutableObjectCharMap<K> withoutAllKeys(Iterable<? extends K> keys)
MutableObjectCharMap<K> asUnmodifiable()
MutableObjectCharMap<K> asSynchronized()
char addToValue(K key, char toBeAdded)
Copyright © 2004–2017. All rights reserved.