public class UnmodifiableDoubleByteMap extends Object implements MutableDoubleByteMap, Serializable
| Constructor and Description |
|---|
UnmodifiableDoubleByteMap(MutableDoubleByteMap 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 UnmodifiableDoubleByteMap(MutableDoubleByteMap map)
public void clear()
clear in interface MutableByteValuesMappublic void put(double key,
byte value)
put in interface MutableDoubleByteMappublic void putPair(DoubleBytePair keyValuePair)
putPair in interface MutableDoubleByteMappublic void putAll(DoubleByteMap map)
putAll in interface MutableDoubleByteMappublic void updateValues(DoubleByteToByteFunction function)
updateValues in interface MutableDoubleByteMappublic void removeKey(double key)
removeKey in interface MutableDoubleByteMappublic void remove(double key)
remove in interface MutableDoubleByteMappublic byte removeKeyIfAbsent(double key,
byte value)
removeKeyIfAbsent in interface MutableDoubleByteMappublic byte getIfAbsentPut(double key,
byte value)
getIfAbsentPut in interface MutableDoubleByteMappublic byte getAndPut(double key,
byte putValue,
byte defaultValue)
getAndPut in interface MutableDoubleByteMappublic byte getIfAbsentPut(double key,
ByteFunction0 function)
getIfAbsentPut in interface MutableDoubleByteMappublic byte getIfAbsentPutWithKey(double key,
DoubleToByteFunction function)
getIfAbsentPutWithKey in interface MutableDoubleByteMappublic <P> byte getIfAbsentPutWith(double key,
ByteFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableDoubleByteMappublic byte updateValue(double key,
byte initialValueIfAbsent,
ByteToByteFunction function)
updateValue in interface MutableDoubleByteMappublic byte get(double key)
get in interface DoubleByteMappublic byte getIfAbsent(double key,
byte ifAbsent)
getIfAbsent in interface DoubleByteMappublic byte getOrThrow(double key)
getOrThrow in interface DoubleByteMappublic boolean containsKey(double key)
containsKey in interface DoubleByteMappublic boolean containsValue(byte value)
containsValue in interface ByteValuesMappublic void forEachValue(ByteProcedure procedure)
forEachValue in interface ByteValuesMappublic void forEachKey(DoubleProcedure procedure)
forEachKey in interface DoubleByteMappublic void forEachKeyValue(DoubleByteProcedure procedure)
forEachKeyValue in interface DoubleByteMappublic LazyDoubleIterable keysView()
keysView in interface DoubleByteMappublic RichIterable<DoubleBytePair> keyValuesView()
keyValuesView in interface DoubleByteMappublic MutableByteDoubleMap flipUniqueValues()
flipUniqueValues in interface DoubleByteMapflipUniqueValues in interface MutableDoubleByteMappublic MutableDoubleByteMap select(DoubleBytePredicate predicate)
select in interface DoubleByteMapselect in interface MutableDoubleByteMappublic MutableDoubleByteMap reject(DoubleBytePredicate predicate)
reject in interface DoubleByteMapreject in interface MutableDoubleByteMappublic 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(double key,
byte toBeAdded)
addToValue in interface MutableDoubleByteMappublic 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 MutableDoubleByteMap withKeyValue(double key, byte value)
withKeyValue in interface MutableDoubleByteMappublic MutableDoubleByteMap withoutKey(double key)
withoutKey in interface MutableDoubleByteMappublic MutableDoubleByteMap withoutAllKeys(DoubleIterable keys)
withoutAllKeys in interface MutableDoubleByteMappublic MutableDoubleByteMap asUnmodifiable()
asUnmodifiable in interface MutableDoubleByteMappublic MutableDoubleByteMap asSynchronized()
asSynchronized in interface MutableDoubleByteMappublic ImmutableDoubleByteMap toImmutable()
toImmutable in interface DoubleByteMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableDoubleSet keySet()
keySet in interface DoubleByteMappublic MutableByteCollection values()
values in interface ByteValuesMappublic boolean equals(Object otherMap)
equals in interface DoubleByteMapequals in class Objectpublic int hashCode()
hashCode in interface DoubleByteMaphashCode in class Objectpublic String toString()
toString in interface DoubleByteMaptoString 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.