Class UnmodifiableIntDoubleMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableIntDoubleMap
- All Implemented Interfaces:
Serializable,DoubleIterable,DoubleValuesMap,IntDoubleMap,MutableDoubleValuesMap,MutableIntDoubleMap,PrimitiveIterable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleaddToValue(int 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(int key) booleancontainsValue(double value) intcount(DoublePredicate predicate) doubledetectIfNone(DoublePredicate predicate, double ifNone) voideach(DoubleProcedure procedure) booleanvoidforEachKey(IntProcedure procedure) voidforEachKeyValue(IntDoubleProcedure procedure) voidforEachValue(DoubleProcedure procedure) doubleget(int key) doublegetAndPut(int key, double putValue, double defaultValue) doublegetIfAbsent(int key, double ifAbsent) doublegetIfAbsentPut(int key, double value) doublegetIfAbsentPut(int key, DoubleFunction0 function) <P> doublegetIfAbsentPutWith(int key, DoubleFunction<? super P> function, P parameter) doublegetIfAbsentPutWithKey(int key, IntToDoubleFunction function) doublegetOrThrow(int 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(int key, double value) voidputAll(IntDoubleMap map) voidputPair(IntDoublePair keyValuePair) reject(DoublePredicate predicate) reject(IntDoublePredicate predicate) voidremove(int key) voidremoveKey(int key) doubleremoveKeyIfAbsent(int key, double value) select(DoublePredicate predicate) select(IntDoublePredicate predicate) intsize()doublesum()double[]toArray()double[]toArray(double[] target) toBag()toList()toSet()double[]toString()doubleupdateValue(int key, double initialValueIfAbsent, DoubleToDoubleFunction function) voidupdateValues(IntDoubleToDoubleFunction function) values()withKeyValue(int key, double value) withoutAllKeys(IntIterable keys) withoutKey(int key) Methods 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.IntDoubleMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMap
withAllKeyValues
-
Constructor Details
-
UnmodifiableIntDoubleMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableDoubleValuesMap
-
put
public void put(int key, double value) - Specified by:
putin interfaceMutableIntDoubleMap
-
putPair
- Specified by:
putPairin interfaceMutableIntDoubleMap
-
putAll
- Specified by:
putAllin interfaceMutableIntDoubleMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableIntDoubleMap
-
removeKey
public void removeKey(int key) - Specified by:
removeKeyin interfaceMutableIntDoubleMap
-
remove
public void remove(int key) - Specified by:
removein interfaceMutableIntDoubleMap
-
removeKeyIfAbsent
public double removeKeyIfAbsent(int key, double value) - Specified by:
removeKeyIfAbsentin interfaceMutableIntDoubleMap
-
getIfAbsentPut
public double getIfAbsentPut(int key, double value) - Specified by:
getIfAbsentPutin interfaceMutableIntDoubleMap
-
getAndPut
public double getAndPut(int key, double putValue, double defaultValue) - Specified by:
getAndPutin interfaceMutableIntDoubleMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableIntDoubleMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableIntDoubleMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableIntDoubleMap
-
updateValue
- Specified by:
updateValuein interfaceMutableIntDoubleMap
-
get
public double get(int key) - Specified by:
getin interfaceIntDoubleMap
-
getIfAbsent
public double getIfAbsent(int key, double ifAbsent) - Specified by:
getIfAbsentin interfaceIntDoubleMap
-
getOrThrow
public double getOrThrow(int key) - Specified by:
getOrThrowin interfaceIntDoubleMap
-
containsKey
public boolean containsKey(int key) - Specified by:
containsKeyin interfaceIntDoubleMap
-
containsValue
public boolean containsValue(double value) - Specified by:
containsValuein interfaceDoubleValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceDoubleValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceIntDoubleMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceIntDoubleMap
-
keysView
- Specified by:
keysViewin interfaceIntDoubleMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceIntDoubleMap
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceIntDoubleMap- Specified by:
flipUniqueValuesin interfaceMutableIntDoubleMap
-
select
- Specified by:
selectin interfaceIntDoubleMap- Specified by:
selectin interfaceMutableIntDoubleMap
-
reject
- Specified by:
rejectin interfaceIntDoubleMap- Specified by:
rejectin interfaceMutableIntDoubleMap
-
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(int key, double toBeAdded) - Specified by:
addToValuein interfaceMutableIntDoubleMap
-
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 interfaceMutableIntDoubleMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableIntDoubleMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableIntDoubleMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableIntDoubleMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableIntDoubleMap
-
toImmutable
- Specified by:
toImmutablein interfaceIntDoubleMap
-
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 interfaceIntDoubleMap
-
values
- Specified by:
valuesin interfaceDoubleValuesMap
-
equals
- Specified by:
equalsin interfaceIntDoubleMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceIntDoubleMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceIntDoubleMap- 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
-