public class UnmodifiableObjectByteMap<K> extends Object implements MutableObjectByteMap<K>, Serializable
| Constructor and Description |
|---|
UnmodifiableObjectByteMap(MutableObjectByteMap<K> map) |
tap, withAllKeyValuesinjectIntoKeyValueaverageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListBypublic UnmodifiableObjectByteMap(MutableObjectByteMap<K> map)
public byte getAndPut(K key, byte defaultValue, byte putValue)
getAndPut in interface MutableObjectByteMap<K>public void clear()
clear in interface MutableObjectByteMap<K>public void put(K key, byte value)
put in interface MutableObjectByteMap<K>public void putPair(ObjectBytePair<K> keyValuePair)
putPair in interface MutableObjectByteMap<K>public void putAll(ObjectByteMap<? extends K> map)
putAll in interface MutableObjectByteMap<K>public void updateValues(ObjectByteToByteFunction<? super K> function)
updateValues in interface MutableObjectByteMap<K>public void removeKey(K key)
removeKey in interface MutableObjectByteMap<K>public void remove(Object key)
remove in interface MutableObjectByteMap<K>public byte removeKeyIfAbsent(K key, byte value)
removeKeyIfAbsent in interface MutableObjectByteMap<K>public byte getIfAbsentPut(K key, byte value)
getIfAbsentPut in interface MutableObjectByteMap<K>public byte getIfAbsentPut(K key, ByteFunction0 function)
getIfAbsentPut in interface MutableObjectByteMap<K>public byte getIfAbsentPutWithKey(K key, ByteFunction<? super K> function)
getIfAbsentPutWithKey in interface MutableObjectByteMap<K>public <P> byte getIfAbsentPutWith(K key, ByteFunction<? super P> function, P parameter)
getIfAbsentPutWith in interface MutableObjectByteMap<K>public byte updateValue(K key, byte initialValueIfAbsent, ByteToByteFunction function)
updateValue in interface MutableObjectByteMap<K>public byte addToValue(K key, byte toBeAdded)
addToValue in interface MutableObjectByteMap<K>public byte get(Object key)
get in interface ObjectByteMap<K>public byte getOrThrow(Object key)
getOrThrow in interface ObjectByteMap<K>public byte getIfAbsent(Object key, byte ifAbsent)
getIfAbsent in interface ObjectByteMap<K>public boolean containsKey(Object key)
containsKey in interface ObjectByteMap<K>public boolean containsValue(byte value)
containsValue in interface ObjectByteMap<K>public void forEachValue(ByteProcedure procedure)
forEachValue in interface ObjectByteMap<K>public void forEachKey(Procedure<? super K> procedure)
forEachKey in interface ObjectByteMap<K>public void forEachKeyValue(ObjectByteProcedure<? super K> procedure)
forEachKeyValue in interface ObjectByteMap<K>public MutableObjectByteMap<K> select(ObjectBytePredicate<? super K> predicate)
select in interface MutableObjectByteMap<K>select in interface ObjectByteMap<K>public MutableObjectByteMap<K> reject(ObjectBytePredicate<? super K> predicate)
reject in interface MutableObjectByteMap<K>reject in interface ObjectByteMap<K>public MutableByteIterator byteIterator()
byteIterator in interface ByteIterablebyteIterator in interface MutableObjectByteMap<K>public void each(ByteProcedure procedure)
each in interface ByteIterablepublic int count(BytePredicate predicate)
count in interface ByteIterablepublic boolean anySatisfy(BytePredicate predicate)
anySatisfy in interface ByteIterablepublic boolean allSatisfy(BytePredicate predicate)
allSatisfy in interface ByteIterablepublic boolean noneSatisfy(BytePredicate predicate)
noneSatisfy in interface ByteIterablepublic MutableByteCollection select(BytePredicate predicate)
select in interface ByteIterableselect in interface MutableObjectByteMap<K>public MutableByteCollection reject(BytePredicate predicate)
reject in interface ByteIterablereject in interface MutableObjectByteMap<K>public byte detectIfNone(BytePredicate predicate, byte ifNone)
detectIfNone in interface ByteIterablepublic <V1> MutableCollection<V1> collect(ByteToObjectFunction<? extends V1> function)
collect in interface ByteIterablecollect in interface MutableObjectByteMap<K>public long sum()
sum in interface ByteIterablepublic byte max()
max in interface ByteIterablepublic byte maxIfEmpty(byte defaultValue)
maxIfEmpty in interface ByteIterablepublic byte min()
min in interface ByteIterablepublic byte minIfEmpty(byte defaultValue)
minIfEmpty in interface ByteIterablepublic double average()
average in interface ByteIterablepublic double median()
median in interface ByteIterablepublic byte[] toSortedArray()
toSortedArray in interface ByteIterablepublic MutableByteList toSortedList()
toSortedList in interface ByteIterablepublic byte[] toArray()
toArray in interface ByteIterablepublic byte[] toArray(byte[] target)
toArray in interface ByteIterablepublic boolean contains(byte value)
contains in interface ByteIterablepublic boolean containsAll(byte... source)
containsAll in interface ByteIterablepublic boolean containsAll(ByteIterable source)
containsAll in interface ByteIterablepublic MutableByteList toList()
toList in interface ByteIterablepublic MutableByteSet toSet()
toSet in interface ByteIterablepublic MutableByteBag toBag()
toBag in interface ByteIterablepublic LazyByteIterable asLazy()
asLazy in interface ByteIterablepublic MutableObjectByteMap<K> withKeyValue(K key, byte value)
withKeyValue in interface MutableObjectByteMap<K>public MutableObjectByteMap<K> withoutKey(K key)
withoutKey in interface MutableObjectByteMap<K>public MutableObjectByteMap<K> withoutAllKeys(Iterable<? extends K> keys)
withoutAllKeys in interface MutableObjectByteMap<K>public MutableObjectByteMap<K> asUnmodifiable()
asUnmodifiable in interface MutableObjectByteMap<K>public MutableObjectByteMap<K> asSynchronized()
asSynchronized in interface MutableObjectByteMap<K>public ImmutableObjectByteMap<K> toImmutable()
toImmutable in interface ObjectByteMap<K>public int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic Set<K> keySet()
keySet in interface ObjectByteMap<K>public MutableByteCollection values()
values in interface ObjectByteMap<K>public LazyIterable<K> keysView()
keysView in interface ObjectByteMap<K>public RichIterable<ObjectBytePair<K>> keyValuesView()
keyValuesView in interface ObjectByteMap<K>public MutableByteObjectMap<K> flipUniqueValues()
flipUniqueValues in interface MutableObjectByteMap<K>flipUniqueValues in interface ObjectByteMap<K>public String toString()
toString in interface ObjectByteMap<K>toString in interface PrimitiveIterabletoString in class Objectpublic String makeString()
makeString in interface PrimitiveIterablepublic String makeString(String separator)
makeString in interface PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface PrimitiveIterablepublic <T> T injectInto(T injectedValue,
ObjectByteToObjectFunction<? super T,? extends T> function)
injectInto in interface ByteIterablepublic RichIterable<ByteIterable> chunk(int size)
chunk in interface ByteIterableCopyright © 2004–2022. All rights reserved.