public interface MutableObjectShortMap<K> extends ObjectShortMap<K>
| Modifier and Type | Method and Description |
|---|---|
short |
addToValue(K key,
short toBeAdded) |
MutableObjectShortMap<K> |
asSynchronized() |
MutableObjectShortMap<K> |
asUnmodifiable() |
void |
clear() |
<V> MutableCollection<V> |
collect(ShortToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
short |
getIfAbsentPut(K key,
short value) |
short |
getIfAbsentPut(K key,
ShortFunction0 function) |
<P> short |
getIfAbsentPutWith(K key,
ShortFunction<? super P> function,
P parameter) |
short |
getIfAbsentPutWithKey(K key,
ShortFunction<? super K> function) |
void |
put(K key,
short value) |
void |
putAll(ObjectShortMap<? extends K> map) |
MutableObjectShortMap<K> |
reject(ObjectShortPredicate<? super K> predicate) |
MutableShortCollection |
reject(ShortPredicate predicate)
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
void |
remove(Object key) |
void |
removeKey(K key) |
short |
removeKeyIfAbsent(K key,
short value) |
MutableObjectShortMap<K> |
select(ObjectShortPredicate<? super K> predicate) |
MutableShortCollection |
select(ShortPredicate predicate)
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
MutableShortIterator |
shortIterator()
Returns a primitive iterator that can be used to iterate over the ShortIterable in an
imperative style.
|
short |
updateValue(K key,
short initialValueIfAbsent,
ShortToShortFunction function) |
MutableObjectShortMap<K> |
withKeyValue(K key,
short value) |
MutableObjectShortMap<K> |
withoutAllKeys(Iterable<? extends K> keys) |
MutableObjectShortMap<K> |
withoutKey(K key) |
containsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, valuesallSatisfy, 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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeMutableShortIterator shortIterator()
ShortIterableshortIterator in interface ShortIterablevoid clear()
void put(K key, short value)
void putAll(ObjectShortMap<? extends K> map)
void removeKey(K key)
void remove(Object key)
short removeKeyIfAbsent(K key, short value)
short getIfAbsentPut(K key, short value)
short getIfAbsentPut(K key, ShortFunction0 function)
short getIfAbsentPutWithKey(K key, ShortFunction<? super K> function)
<P> short getIfAbsentPutWith(K key, ShortFunction<? super P> function, P parameter)
short updateValue(K key, short initialValueIfAbsent, ShortToShortFunction function)
MutableObjectShortMap<K> select(ObjectShortPredicate<? super K> predicate)
select in interface ObjectShortMap<K>MutableObjectShortMap<K> reject(ObjectShortPredicate<? super K> predicate)
reject in interface ObjectShortMap<K>MutableShortCollection select(ShortPredicate predicate)
ShortIterableselect in interface ShortIterableMutableShortCollection reject(ShortPredicate predicate)
ShortIterablereject in interface ShortIterable<V> MutableCollection<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterablecollect in interface ShortIterableMutableObjectShortMap<K> withKeyValue(K key, short value)
MutableObjectShortMap<K> withoutKey(K key)
MutableObjectShortMap<K> withoutAllKeys(Iterable<? extends K> keys)
MutableObjectShortMap<K> asUnmodifiable()
MutableObjectShortMap<K> asSynchronized()
short addToValue(K key, short toBeAdded)
Copyright © 2004–2017. All rights reserved.