public class UnmodifiableShortByteMap extends Object implements MutableShortByteMap, Serializable
| Constructor and Description |
|---|
UnmodifiableShortByteMap(MutableShortByteMap map) |
withAllKeyValuesinjectIntoKeyValuetapaverageIfEmpty, 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 UnmodifiableShortByteMap(MutableShortByteMap map)
public void clear()
clear in interface MutableByteValuesMappublic void put(short key,
byte value)
put in interface MutableShortByteMappublic void putPair(ShortBytePair keyValuePair)
putPair in interface MutableShortByteMappublic void putAll(ShortByteMap map)
putAll in interface MutableShortByteMappublic void updateValues(ShortByteToByteFunction function)
updateValues in interface MutableShortByteMappublic void removeKey(short key)
removeKey in interface MutableShortByteMappublic void remove(short key)
remove in interface MutableShortByteMappublic byte removeKeyIfAbsent(short key,
byte value)
removeKeyIfAbsent in interface MutableShortByteMappublic byte getIfAbsentPut(short key,
byte value)
getIfAbsentPut in interface MutableShortByteMappublic byte getAndPut(short key,
byte putValue,
byte defaultValue)
getAndPut in interface MutableShortByteMappublic byte getIfAbsentPut(short key,
ByteFunction0 function)
getIfAbsentPut in interface MutableShortByteMappublic byte getIfAbsentPutWithKey(short key,
ShortToByteFunction function)
getIfAbsentPutWithKey in interface MutableShortByteMappublic <P> byte getIfAbsentPutWith(short key,
ByteFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableShortByteMappublic byte updateValue(short key,
byte initialValueIfAbsent,
ByteToByteFunction function)
updateValue in interface MutableShortByteMappublic byte get(short key)
get in interface ShortByteMappublic byte getIfAbsent(short key,
byte ifAbsent)
getIfAbsent in interface ShortByteMappublic byte getOrThrow(short key)
getOrThrow in interface ShortByteMappublic boolean containsKey(short key)
containsKey in interface ShortByteMappublic boolean containsValue(byte value)
containsValue in interface ByteValuesMappublic void forEachValue(ByteProcedure procedure)
forEachValue in interface ByteValuesMappublic void forEachKey(ShortProcedure procedure)
forEachKey in interface ShortByteMappublic void forEachKeyValue(ShortByteProcedure procedure)
forEachKeyValue in interface ShortByteMappublic LazyShortIterable keysView()
keysView in interface ShortByteMappublic RichIterable<ShortBytePair> keyValuesView()
keyValuesView in interface ShortByteMappublic MutableByteShortMap flipUniqueValues()
flipUniqueValues in interface MutableShortByteMapflipUniqueValues in interface ShortByteMappublic MutableShortByteMap select(ShortBytePredicate predicate)
select in interface MutableShortByteMapselect in interface ShortByteMappublic MutableShortByteMap reject(ShortBytePredicate predicate)
reject in interface MutableShortByteMapreject in interface ShortByteMappublic MutableByteIterator byteIterator()
byteIterator in interface ByteIterablebyteIterator in interface MutableByteValuesMappublic 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 MutableByteBag select(BytePredicate predicate)
select in interface ByteIterableselect in interface ByteValuesMapselect in interface MutableByteValuesMappublic MutableByteBag reject(BytePredicate predicate)
reject in interface ByteIterablereject in interface ByteValuesMapreject in interface MutableByteValuesMappublic <V> MutableBag<V> collect(ByteToObjectFunction<? extends V> function)
collect in interface ByteIterablecollect in interface ByteValuesMapcollect in interface MutableByteValuesMappublic byte detectIfNone(BytePredicate predicate, byte ifNone)
detectIfNone in interface ByteIterablepublic 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 addToValue(short key,
byte toBeAdded)
addToValue in interface MutableShortByteMappublic 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 MutableShortByteMap withKeyValue(short key, byte value)
withKeyValue in interface MutableShortByteMappublic MutableShortByteMap withoutKey(short key)
withoutKey in interface MutableShortByteMappublic MutableShortByteMap withoutAllKeys(ShortIterable keys)
withoutAllKeys in interface MutableShortByteMappublic MutableShortByteMap asUnmodifiable()
asUnmodifiable in interface MutableShortByteMappublic MutableShortByteMap asSynchronized()
asSynchronized in interface MutableShortByteMappublic ImmutableShortByteMap toImmutable()
toImmutable in interface ShortByteMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableShortSet keySet()
keySet in interface ShortByteMappublic MutableByteCollection values()
values in interface ByteValuesMappublic boolean equals(Object otherMap)
equals in interface ShortByteMapequals in class Objectpublic int hashCode()
hashCode in interface ShortByteMaphashCode in class Objectpublic String toString()
toString in interface ShortByteMaptoString 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.