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