Class UnmodifiableObjectDoubleMap<K>
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableObjectDoubleMap<K>
- All Implemented Interfaces:
Serializable,DoubleIterable,MutableObjectDoubleMap<K>,ObjectDoubleMap<K>,PrimitiveIterable
public class UnmodifiableObjectDoubleMap<K>
extends Object
implements MutableObjectDoubleMap<K>, Serializable
This file was automatically generated from template file unmodifiableObjectPrimitiveMap.stg.
- Since:
- 3.2
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleaddToValue(K 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()<V1> MutableCollection<V1>collect(DoubleToObjectFunction<? extends V1> function) booleancontains(double value) booleancontainsAll(double... source) booleancontainsAll(DoubleIterable source) booleancontainsKey(Object key) booleancontainsValue(double value) intcount(DoublePredicate predicate) doubledetectIfNone(DoublePredicate predicate, double ifNone) voideach(DoubleProcedure procedure) booleanvoidforEachKey(Procedure<? super K> procedure) voidforEachKeyValue(ObjectDoubleProcedure<? super K> procedure) voidforEachValue(DoubleProcedure procedure) doubledoubledoublegetIfAbsent(Object key, double ifAbsent) doublegetIfAbsentPut(K key, double value) doublegetIfAbsentPut(K key, DoubleFunction0 function) <P> doublegetIfAbsentPutWith(K key, DoubleFunction<? super P> function, P parameter) doublegetIfAbsentPutWithKey(K key, DoubleFunction<? super K> function) doublegetOrThrow(Object 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()voidvoidputAll(ObjectDoubleMap<? extends K> map) voidputPair(ObjectDoublePair<K> keyValuePair) reject(DoublePredicate predicate) reject(ObjectDoublePredicate<? super K> predicate) voidvoiddoubleremoveKeyIfAbsent(K key, double value) select(DoublePredicate predicate) select(ObjectDoublePredicate<? super K> predicate) intsize()doublesum()double[]toArray()double[]toArray(double[] target) toBag()toList()toSet()double[]toString()doubleupdateValue(K key, double initialValueIfAbsent, DoubleToDoubleFunction function) voidupdateValues(ObjectDoubleToDoubleFunction<? super K> function) values()withKeyValue(K key, double value) withoutAllKeys(Iterable<? extends K> keys) withoutKey(K 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.MutableObjectDoubleMap
tap, withAllKeyValuesMethods inherited from interface org.eclipse.collections.api.map.primitive.ObjectDoubleMap
allSatisfyKeyValue, injectIntoKeyValue
-
Constructor Details
-
UnmodifiableObjectDoubleMap
-
-
Method Details
-
getAndPut
- Specified by:
getAndPutin interfaceMutableObjectDoubleMap<K>
-
clear
public void clear()- Specified by:
clearin interfaceMutableObjectDoubleMap<K>
-
put
- Specified by:
putin interfaceMutableObjectDoubleMap<K>
-
putPair
- Specified by:
putPairin interfaceMutableObjectDoubleMap<K>
-
putAll
- Specified by:
putAllin interfaceMutableObjectDoubleMap<K>
-
updateValues
- Specified by:
updateValuesin interfaceMutableObjectDoubleMap<K>
-
removeKey
- Specified by:
removeKeyin interfaceMutableObjectDoubleMap<K>
-
remove
- Specified by:
removein interfaceMutableObjectDoubleMap<K>
-
removeKeyIfAbsent
- Specified by:
removeKeyIfAbsentin interfaceMutableObjectDoubleMap<K>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableObjectDoubleMap<K>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableObjectDoubleMap<K>
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableObjectDoubleMap<K>
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableObjectDoubleMap<K>
-
updateValue
- Specified by:
updateValuein interfaceMutableObjectDoubleMap<K>
-
addToValue
- Specified by:
addToValuein interfaceMutableObjectDoubleMap<K>
-
get
- Specified by:
getin interfaceObjectDoubleMap<K>
-
getOrThrow
- Specified by:
getOrThrowin interfaceObjectDoubleMap<K>
-
getIfAbsent
- Specified by:
getIfAbsentin interfaceObjectDoubleMap<K>
-
containsKey
- Specified by:
containsKeyin interfaceObjectDoubleMap<K>
-
containsValue
public boolean containsValue(double value) - Specified by:
containsValuein interfaceObjectDoubleMap<K>
-
forEachValue
- Specified by:
forEachValuein interfaceObjectDoubleMap<K>
-
forEachKey
- Specified by:
forEachKeyin interfaceObjectDoubleMap<K>
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceObjectDoubleMap<K>
-
select
- Specified by:
selectin interfaceMutableObjectDoubleMap<K>- Specified by:
selectin interfaceObjectDoubleMap<K>
-
reject
- Specified by:
rejectin interfaceMutableObjectDoubleMap<K>- Specified by:
rejectin interfaceObjectDoubleMap<K>
-
doubleIterator
- Specified by:
doubleIteratorin interfaceDoubleIterable- Specified by:
doubleIteratorin interfaceMutableObjectDoubleMap<K>
-
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 interfaceMutableObjectDoubleMap<K>
-
reject
- Specified by:
rejectin interfaceDoubleIterable- Specified by:
rejectin interfaceMutableObjectDoubleMap<K>
-
detectIfNone
- Specified by:
detectIfNonein interfaceDoubleIterable
-
collect
- Specified by:
collectin interfaceDoubleIterable- Specified by:
collectin interfaceMutableObjectDoubleMap<K>
-
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
-
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 interfaceMutableObjectDoubleMap<K>
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableObjectDoubleMap<K>
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableObjectDoubleMap<K>
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableObjectDoubleMap<K>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableObjectDoubleMap<K>
-
toImmutable
- Specified by:
toImmutablein interfaceObjectDoubleMap<K>
-
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 interfaceObjectDoubleMap<K>
-
values
- Specified by:
valuesin interfaceObjectDoubleMap<K>
-
keysView
- Specified by:
keysViewin interfaceObjectDoubleMap<K>
-
keyValuesView
- Specified by:
keyValuesViewin interfaceObjectDoubleMap<K>
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceMutableObjectDoubleMap<K>- Specified by:
flipUniqueValuesin interfaceObjectDoubleMap<K>
-
equals
-
hashCode
public int hashCode() -
toString
- Specified by:
toStringin interfaceObjectDoubleMap<K>- 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
-