Class UnmodifiableDoubleByteMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableDoubleByteMap
- All Implemented Interfaces:
Serializable,ByteIterable,ByteValuesMap,DoubleByteMap,MutableByteValuesMap,MutableDoubleByteMap,PrimitiveIterable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyteaddToValue(double key, byte toBeAdded) booleanallSatisfy(BytePredicate predicate) booleananySatisfy(BytePredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()doubleaverage()chunk(int size) voidclear()<V> MutableBag<V>collect(ByteToObjectFunction<? extends V> function) booleancontains(byte value) booleancontainsAll(byte... source) booleancontainsAll(ByteIterable source) booleancontainsKey(double key) booleancontainsValue(byte value) intcount(BytePredicate predicate) bytedetectIfNone(BytePredicate predicate, byte ifNone) voideach(ByteProcedure procedure) booleanvoidforEachKey(DoubleProcedure procedure) voidforEachKeyValue(DoubleByteProcedure procedure) voidforEachValue(ByteProcedure procedure) byteget(double key) bytegetAndPut(double key, byte putValue, byte defaultValue) bytegetIfAbsent(double key, byte ifAbsent) bytegetIfAbsentPut(double key, byte value) bytegetIfAbsentPut(double key, ByteFunction0 function) <P> bytegetIfAbsentPutWith(double key, ByteFunction<? super P> function, P parameter) bytegetIfAbsentPutWithKey(double key, DoubleToByteFunction function) bytegetOrThrow(double key) inthashCode()<T> TinjectInto(T injectedValue, ObjectByteToObjectFunction<? super T, ? extends T> function) booleanisEmpty()keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) bytemax()bytemaxIfEmpty(byte defaultValue) doublemedian()bytemin()byteminIfEmpty(byte defaultValue) booleannoneSatisfy(BytePredicate predicate) booleannotEmpty()voidput(double key, byte value) voidputAll(DoubleByteMap map) voidputPair(DoubleBytePair keyValuePair) reject(BytePredicate predicate) reject(DoubleBytePredicate predicate) voidremove(double key) voidremoveKey(double key) byteremoveKeyIfAbsent(double key, byte value) select(BytePredicate predicate) select(DoubleBytePredicate predicate) intsize()longsum()byte[]toArray()byte[]toArray(byte[] target) toBag()toList()toSet()byte[]toString()byteupdateValue(double key, byte initialValueIfAbsent, ByteToByteFunction function) voidupdateValues(DoubleByteToByteFunction function) values()withKeyValue(double key, byte value) withoutAllKeys(DoubleIterable keys) withoutKey(double key) Methods inherited from interface org.eclipse.collections.api.ByteIterable
averageIfEmpty, 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, toSortedListByMethods inherited from interface org.eclipse.collections.api.map.primitive.ByteValuesMap
tapMethods inherited from interface org.eclipse.collections.api.map.primitive.DoubleByteMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMap
withAllKeyValues
-
Constructor Details
-
UnmodifiableDoubleByteMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableByteValuesMap
-
put
public void put(double key, byte value) - Specified by:
putin interfaceMutableDoubleByteMap
-
putPair
- Specified by:
putPairin interfaceMutableDoubleByteMap
-
putAll
- Specified by:
putAllin interfaceMutableDoubleByteMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableDoubleByteMap
-
removeKey
public void removeKey(double key) - Specified by:
removeKeyin interfaceMutableDoubleByteMap
-
remove
public void remove(double key) - Specified by:
removein interfaceMutableDoubleByteMap
-
removeKeyIfAbsent
public byte removeKeyIfAbsent(double key, byte value) - Specified by:
removeKeyIfAbsentin interfaceMutableDoubleByteMap
-
getIfAbsentPut
public byte getIfAbsentPut(double key, byte value) - Specified by:
getIfAbsentPutin interfaceMutableDoubleByteMap
-
getAndPut
public byte getAndPut(double key, byte putValue, byte defaultValue) - Specified by:
getAndPutin interfaceMutableDoubleByteMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableDoubleByteMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableDoubleByteMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableDoubleByteMap
-
updateValue
- Specified by:
updateValuein interfaceMutableDoubleByteMap
-
get
public byte get(double key) - Specified by:
getin interfaceDoubleByteMap
-
getIfAbsent
public byte getIfAbsent(double key, byte ifAbsent) - Specified by:
getIfAbsentin interfaceDoubleByteMap
-
getOrThrow
public byte getOrThrow(double key) - Specified by:
getOrThrowin interfaceDoubleByteMap
-
containsKey
public boolean containsKey(double key) - Specified by:
containsKeyin interfaceDoubleByteMap
-
containsValue
public boolean containsValue(byte value) - Specified by:
containsValuein interfaceByteValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceByteValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceDoubleByteMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceDoubleByteMap
-
keysView
- Specified by:
keysViewin interfaceDoubleByteMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceDoubleByteMap
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceDoubleByteMap- Specified by:
flipUniqueValuesin interfaceMutableDoubleByteMap
-
select
- Specified by:
selectin interfaceDoubleByteMap- Specified by:
selectin interfaceMutableDoubleByteMap
-
reject
- Specified by:
rejectin interfaceDoubleByteMap- Specified by:
rejectin interfaceMutableDoubleByteMap
-
byteIterator
- Specified by:
byteIteratorin interfaceByteIterable- Specified by:
byteIteratorin interfaceMutableByteValuesMap
-
each
- Specified by:
eachin interfaceByteIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceByteIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceByteIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceByteIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceByteIterable
-
select
- Specified by:
selectin interfaceByteIterable- Specified by:
selectin interfaceByteValuesMap- Specified by:
selectin interfaceMutableByteValuesMap
-
reject
- Specified by:
rejectin interfaceByteIterable- Specified by:
rejectin interfaceByteValuesMap- Specified by:
rejectin interfaceMutableByteValuesMap
-
collect
- Specified by:
collectin interfaceByteIterable- Specified by:
collectin interfaceByteValuesMap- Specified by:
collectin interfaceMutableByteValuesMap
-
detectIfNone
- Specified by:
detectIfNonein interfaceByteIterable
-
sum
public long sum()- Specified by:
sumin interfaceByteIterable
-
max
public byte max()- Specified by:
maxin interfaceByteIterable
-
maxIfEmpty
public byte maxIfEmpty(byte defaultValue) - Specified by:
maxIfEmptyin interfaceByteIterable
-
min
public byte min()- Specified by:
minin interfaceByteIterable
-
minIfEmpty
public byte minIfEmpty(byte defaultValue) - Specified by:
minIfEmptyin interfaceByteIterable
-
average
public double average()- Specified by:
averagein interfaceByteIterable
-
median
public double median()- Specified by:
medianin interfaceByteIterable
-
addToValue
public byte addToValue(double key, byte toBeAdded) - Specified by:
addToValuein interfaceMutableDoubleByteMap
-
toSortedArray
public byte[] toSortedArray()- Specified by:
toSortedArrayin interfaceByteIterable
-
toSortedList
- Specified by:
toSortedListin interfaceByteIterable
-
toArray
public byte[] toArray()- Specified by:
toArrayin interfaceByteIterable
-
toArray
public byte[] toArray(byte[] target) - Specified by:
toArrayin interfaceByteIterable
-
contains
public boolean contains(byte value) - Specified by:
containsin interfaceByteIterable
-
containsAll
public boolean containsAll(byte... source) - Specified by:
containsAllin interfaceByteIterable
-
containsAll
- Specified by:
containsAllin interfaceByteIterable
-
toList
- Specified by:
toListin interfaceByteIterable
-
toSet
- Specified by:
toSetin interfaceByteIterable
-
toBag
- Specified by:
toBagin interfaceByteIterable
-
asLazy
- Specified by:
asLazyin interfaceByteIterable
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableDoubleByteMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableDoubleByteMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableDoubleByteMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableDoubleByteMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableDoubleByteMap
-
toImmutable
- Specified by:
toImmutablein interfaceDoubleByteMap
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable
-
keySet
- Specified by:
keySetin interfaceDoubleByteMap
-
values
- Specified by:
valuesin interfaceByteValuesMap
-
equals
- Specified by:
equalsin interfaceDoubleByteMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceDoubleByteMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceDoubleByteMap- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectByteToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceByteIterable
-
chunk
- Specified by:
chunkin interfaceByteIterable
-