ByteIterable
, ObjectByteMap<K>
, PrimitiveIterable
ObjectByteHashMap
, ObjectByteHashMapWithHashingStrategy
, SynchronizedObjectByteMap
, UnmodifiableObjectByteMap
public interface MutableObjectByteMap<K> extends ObjectByteMap<K>
Modifier and Type | Method | 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.
|
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) |
|
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) |
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
containsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, values
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
MutableByteIterator byteIterator()
ByteIterable
byteIterator
in interface ByteIterable
void 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)
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)
ByteIterable
select
in interface ByteIterable
MutableByteCollection reject(BytePredicate predicate)
ByteIterable
reject
in interface ByteIterable
<V> MutableCollection<V> collect(ByteToObjectFunction<? extends V> function)
ByteIterable
collect
in interface ByteIterable
MutableObjectByteMap<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.