public interface MutableObjectByteMap<K> extends ObjectByteMap<K>
| Modifier and Type | Method and Description |
|---|---|
byte |
addToValue(K key,
byte toBeAdded) |
MutableObjectByteMap<K> |
asSynchronized() |
MutableObjectByteMap<K> |
asUnmodifiable() |
MutableByteIterator |
byteIterator()
Returns a primitive iterator that can be used to iterate over the ByteIterable in an
imperative style.
|
void |
clear() |
<V> MutableCollection<V> |
collect(ByteToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
MutableByteObjectMap<K> |
flipUniqueValues()
Return the ByteObjectMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
byte |
getIfAbsentPut(K key,
byte value) |
byte |
getIfAbsentPut(K key,
ByteFunction0 function) |
<P> byte |
getIfAbsentPutWith(K key,
ByteFunction<? super P> function,
P parameter) |
byte |
getIfAbsentPutWithKey(K key,
ByteFunction<? super K> function) |
void |
put(K key,
byte value) |
void |
putAll(ObjectByteMap<? extends K> map) |
MutableByteCollection |
reject(BytePredicate predicate)
Returns a new ByteIterable with all of the elements in the ByteIterable that
return false for the specified predicate.
|
MutableObjectByteMap<K> |
reject(ObjectBytePredicate<? super K> predicate) |
void |
remove(Object key) |
void |
removeKey(K key) |
byte |
removeKeyIfAbsent(K key,
byte value) |
MutableByteCollection |
select(BytePredicate predicate)
Returns a new ByteIterable with all of the elements in the ByteIterable that
return true for the specified predicate.
|
MutableObjectByteMap<K> |
select(ObjectBytePredicate<? super K> predicate) |
default MutableObjectByteMap<K> |
tap(ByteProcedure procedure) |
byte |
updateValue(K key,
byte initialValueIfAbsent,
ByteToByteFunction function) |
MutableObjectByteMap<K> |
withKeyValue(K key,
byte value) |
MutableObjectByteMap<K> |
withoutAllKeys(Iterable<? extends K> keys) |
MutableObjectByteMap<K> |
withoutKey(K key) |
containsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, valuesallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeMutableByteIterator byteIterator()
ByteIterablebyteIterator in interface ByteIterablevoid clear()
void put(K key, byte value)
void putAll(ObjectByteMap<? extends K> map)
void removeKey(K key)
void remove(Object key)
byte removeKeyIfAbsent(K key, byte value)
byte getIfAbsentPut(K key, byte value)
byte getIfAbsentPut(K key, ByteFunction0 function)
byte getIfAbsentPutWithKey(K key, ByteFunction<? super K> function)
<P> byte getIfAbsentPutWith(K key, ByteFunction<? super P> function, P parameter)
byte updateValue(K key, byte initialValueIfAbsent, ByteToByteFunction function)
MutableByteObjectMap<K> flipUniqueValues()
ObjectByteMapflipUniqueValues in interface ObjectByteMap<K>MutableObjectByteMap<K> select(ObjectBytePredicate<? super K> predicate)
select in interface ObjectByteMap<K>MutableObjectByteMap<K> reject(ObjectBytePredicate<? super K> predicate)
reject in interface ObjectByteMap<K>MutableByteCollection select(BytePredicate predicate)
ByteIterableselect in interface ByteIterableMutableByteCollection reject(BytePredicate predicate)
ByteIterablereject in interface ByteIterabledefault MutableObjectByteMap<K> tap(ByteProcedure procedure)
tap in interface ByteIterabletap in interface ObjectByteMap<K><V> MutableCollection<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterablecollect in interface ByteIterableMutableObjectByteMap<K> withKeyValue(K key, byte value)
MutableObjectByteMap<K> withoutKey(K key)
MutableObjectByteMap<K> withoutAllKeys(Iterable<? extends K> keys)
MutableObjectByteMap<K> asUnmodifiable()
MutableObjectByteMap<K> asSynchronized()
byte addToValue(K key, byte toBeAdded)
Copyright © 2004–2017. All rights reserved.