Class UnmodifiableByteDoubleMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableByteDoubleMap
- All Implemented Interfaces:
Serializable,DoubleIterable,ByteDoubleMap,DoubleValuesMap,MutableByteDoubleMap,MutableDoubleValuesMap,PrimitiveIterable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleaddToValue(byte key, double toBeAdded) booleanallSatisfy(DoublePredicate predicate) booleananySatisfy(DoublePredicate 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(DoubleToObjectFunction<? extends V> function) booleancontains(double value) booleancontainsAll(double... source) booleancontainsAll(DoubleIterable source) booleancontainsKey(byte key) booleancontainsValue(double value) intcount(DoublePredicate predicate) doubledetectIfNone(DoublePredicate predicate, double ifNone) voideach(DoubleProcedure procedure) booleanvoidforEachKey(ByteProcedure procedure) voidforEachKeyValue(ByteDoubleProcedure procedure) voidforEachValue(DoubleProcedure procedure) doubleget(byte key) doublegetAndPut(byte key, double putValue, double defaultValue) doublegetIfAbsent(byte key, double ifAbsent) doublegetIfAbsentPut(byte key, double value) doublegetIfAbsentPut(byte key, DoubleFunction0 function) <P> doublegetIfAbsentPutWith(byte key, DoubleFunction<? super P> function, P parameter) doublegetIfAbsentPutWithKey(byte key, ByteToDoubleFunction function) doublegetOrThrow(byte key) inthashCode()<T> TinjectInto(T injectedValue, ObjectDoubleToObjectFunction<? super T, ? extends T> function) booleanisEmpty()keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) doublemax()doublemaxIfEmpty(double defaultValue) doublemedian()doublemin()doubleminIfEmpty(double defaultValue) booleannoneSatisfy(DoublePredicate predicate) booleannotEmpty()voidput(byte key, double value) voidputAll(ByteDoubleMap map) voidputPair(ByteDoublePair keyValuePair) reject(ByteDoublePredicate predicate) reject(DoublePredicate predicate) voidremove(byte key) voidremoveKey(byte key) doubleremoveKeyIfAbsent(byte key, double value) select(ByteDoublePredicate predicate) select(DoublePredicate predicate) intsize()doublesum()double[]toArray()double[]toArray(double[] target) toBag()toList()toSet()double[]toString()doubleupdateValue(byte key, double initialValueIfAbsent, DoubleToDoubleFunction function) voidupdateValues(ByteDoubleToDoubleFunction function) values()withKeyValue(byte key, double value) withoutAllKeys(ByteIterable keys) withoutKey(byte key) Methods inherited from interface org.eclipse.collections.api.map.primitive.ByteDoubleMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.DoubleIterable
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.DoubleValuesMap
tapMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMap
withAllKeyValues
-
Constructor Details
-
UnmodifiableByteDoubleMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableDoubleValuesMap
-
put
public void put(byte key, double value) - Specified by:
putin interfaceMutableByteDoubleMap
-
putPair
- Specified by:
putPairin interfaceMutableByteDoubleMap
-
putAll
- Specified by:
putAllin interfaceMutableByteDoubleMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableByteDoubleMap
-
removeKey
public void removeKey(byte key) - Specified by:
removeKeyin interfaceMutableByteDoubleMap
-
remove
public void remove(byte key) - Specified by:
removein interfaceMutableByteDoubleMap
-
removeKeyIfAbsent
public double removeKeyIfAbsent(byte key, double value) - Specified by:
removeKeyIfAbsentin interfaceMutableByteDoubleMap
-
getIfAbsentPut
public double getIfAbsentPut(byte key, double value) - Specified by:
getIfAbsentPutin interfaceMutableByteDoubleMap
-
getAndPut
public double getAndPut(byte key, double putValue, double defaultValue) - Specified by:
getAndPutin interfaceMutableByteDoubleMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableByteDoubleMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableByteDoubleMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableByteDoubleMap
-
updateValue
- Specified by:
updateValuein interfaceMutableByteDoubleMap
-
get
public double get(byte key) - Specified by:
getin interfaceByteDoubleMap
-
getIfAbsent
public double getIfAbsent(byte key, double ifAbsent) - Specified by:
getIfAbsentin interfaceByteDoubleMap
-
getOrThrow
public double getOrThrow(byte key) - Specified by:
getOrThrowin interfaceByteDoubleMap
-
containsKey
public boolean containsKey(byte key) - Specified by:
containsKeyin interfaceByteDoubleMap
-
containsValue
public boolean containsValue(double value) - Specified by:
containsValuein interfaceDoubleValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceDoubleValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceByteDoubleMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceByteDoubleMap
-
keysView
- Specified by:
keysViewin interfaceByteDoubleMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceByteDoubleMap
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceByteDoubleMap- Specified by:
flipUniqueValuesin interfaceMutableByteDoubleMap
-
select
- Specified by:
selectin interfaceByteDoubleMap- Specified by:
selectin interfaceMutableByteDoubleMap
-
reject
- Specified by:
rejectin interfaceByteDoubleMap- Specified by:
rejectin interfaceMutableByteDoubleMap
-
doubleIterator
- Specified by:
doubleIteratorin interfaceDoubleIterable- Specified by:
doubleIteratorin interfaceMutableDoubleValuesMap
-
each
- Specified by:
eachin interfaceDoubleIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceDoubleIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceDoubleIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceDoubleIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceDoubleIterable
-
select
- Specified by:
selectin interfaceDoubleIterable- Specified by:
selectin interfaceDoubleValuesMap- Specified by:
selectin interfaceMutableDoubleValuesMap
-
reject
- Specified by:
rejectin interfaceDoubleIterable- Specified by:
rejectin interfaceDoubleValuesMap- Specified by:
rejectin interfaceMutableDoubleValuesMap
-
collect
- Specified by:
collectin interfaceDoubleIterable- Specified by:
collectin interfaceDoubleValuesMap- Specified by:
collectin interfaceMutableDoubleValuesMap
-
detectIfNone
- Specified by:
detectIfNonein interfaceDoubleIterable
-
sum
public double sum()- Specified by:
sumin interfaceDoubleIterable
-
max
public double max()- Specified by:
maxin interfaceDoubleIterable
-
maxIfEmpty
public double maxIfEmpty(double defaultValue) - Specified by:
maxIfEmptyin interfaceDoubleIterable
-
min
public double min()- Specified by:
minin interfaceDoubleIterable
-
minIfEmpty
public double minIfEmpty(double defaultValue) - Specified by:
minIfEmptyin interfaceDoubleIterable
-
average
public double average()- Specified by:
averagein interfaceDoubleIterable
-
median
public double median()- Specified by:
medianin interfaceDoubleIterable
-
addToValue
public double addToValue(byte key, double toBeAdded) - Specified by:
addToValuein interfaceMutableByteDoubleMap
-
toSortedArray
public double[] toSortedArray()- Specified by:
toSortedArrayin interfaceDoubleIterable
-
toSortedList
- Specified by:
toSortedListin interfaceDoubleIterable
-
toArray
public double[] toArray()- Specified by:
toArrayin interfaceDoubleIterable
-
toArray
public double[] toArray(double[] target) - Specified by:
toArrayin interfaceDoubleIterable
-
contains
public boolean contains(double value) - Specified by:
containsin interfaceDoubleIterable
-
containsAll
public boolean containsAll(double... source) - Specified by:
containsAllin interfaceDoubleIterable
-
containsAll
- Specified by:
containsAllin interfaceDoubleIterable
-
toList
- Specified by:
toListin interfaceDoubleIterable
-
toSet
- Specified by:
toSetin interfaceDoubleIterable
-
toBag
- Specified by:
toBagin interfaceDoubleIterable
-
asLazy
- Specified by:
asLazyin interfaceDoubleIterable
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableByteDoubleMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableByteDoubleMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableByteDoubleMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableByteDoubleMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableByteDoubleMap
-
toImmutable
- Specified by:
toImmutablein interfaceByteDoubleMap
-
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 interfaceByteDoubleMap
-
values
- Specified by:
valuesin interfaceDoubleValuesMap
-
equals
- Specified by:
equalsin interfaceByteDoubleMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceByteDoubleMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceByteDoubleMap- 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, ObjectDoubleToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceDoubleIterable
-
chunk
- Specified by:
chunkin interfaceDoubleIterable
-