Class UnmodifiableFloatFloatMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableFloatFloatMap
- All Implemented Interfaces:
Serializable,FloatIterable,FloatFloatMap,FloatValuesMap,MutableFloatFloatMap,MutableFloatValuesMap,PrimitiveIterable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloataddToValue(float key, float toBeAdded) booleanallSatisfy(FloatPredicate predicate) booleananySatisfy(FloatPredicate 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(FloatToObjectFunction<? extends V> function) booleancontains(float value) booleancontainsAll(float... source) booleancontainsAll(FloatIterable source) booleancontainsKey(float key) booleancontainsValue(float value) intcount(FloatPredicate predicate) floatdetectIfNone(FloatPredicate predicate, float ifNone) voideach(FloatProcedure procedure) booleanvoidforEachKey(FloatProcedure procedure) voidforEachKeyValue(FloatFloatProcedure procedure) voidforEachValue(FloatProcedure procedure) floatget(float key) floatgetAndPut(float key, float putValue, float defaultValue) floatgetIfAbsent(float key, float ifAbsent) floatgetIfAbsentPut(float key, float value) floatgetIfAbsentPut(float key, FloatFunction0 function) <P> floatgetIfAbsentPutWith(float key, FloatFunction<? super P> function, P parameter) floatgetIfAbsentPutWithKey(float key, FloatToFloatFunction function) floatgetOrThrow(float key) inthashCode()<T> TinjectInto(T injectedValue, ObjectFloatToObjectFunction<? super T, ? extends T> function) booleanisEmpty()keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) floatmax()floatmaxIfEmpty(float defaultValue) doublemedian()floatmin()floatminIfEmpty(float defaultValue) booleannoneSatisfy(FloatPredicate predicate) booleannotEmpty()voidput(float key, float value) voidputAll(FloatFloatMap map) voidputPair(FloatFloatPair keyValuePair) reject(FloatFloatPredicate predicate) reject(FloatPredicate predicate) voidremove(float key) voidremoveKey(float key) floatremoveKeyIfAbsent(float key, float value) select(FloatFloatPredicate predicate) select(FloatPredicate predicate) intsize()doublesum()float[]toArray()float[]toArray(float[] target) toBag()toList()toSet()float[]toString()floatupdateValue(float key, float initialValueIfAbsent, FloatToFloatFunction function) voidupdateValues(FloatFloatToFloatFunction function) values()withKeyValue(float key, float value) withoutAllKeys(FloatIterable keys) withoutKey(float key) Methods inherited from interface org.eclipse.collections.api.map.primitive.FloatFloatMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.FloatIterable
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.FloatValuesMap
tapMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMap
withAllKeyValues
-
Constructor Details
-
UnmodifiableFloatFloatMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableFloatValuesMap
-
put
public void put(float key, float value) - Specified by:
putin interfaceMutableFloatFloatMap
-
putPair
- Specified by:
putPairin interfaceMutableFloatFloatMap
-
putAll
- Specified by:
putAllin interfaceMutableFloatFloatMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableFloatFloatMap
-
removeKey
public void removeKey(float key) - Specified by:
removeKeyin interfaceMutableFloatFloatMap
-
remove
public void remove(float key) - Specified by:
removein interfaceMutableFloatFloatMap
-
removeKeyIfAbsent
public float removeKeyIfAbsent(float key, float value) - Specified by:
removeKeyIfAbsentin interfaceMutableFloatFloatMap
-
getIfAbsentPut
public float getIfAbsentPut(float key, float value) - Specified by:
getIfAbsentPutin interfaceMutableFloatFloatMap
-
getAndPut
public float getAndPut(float key, float putValue, float defaultValue) - Specified by:
getAndPutin interfaceMutableFloatFloatMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableFloatFloatMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableFloatFloatMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableFloatFloatMap
-
updateValue
- Specified by:
updateValuein interfaceMutableFloatFloatMap
-
get
public float get(float key) - Specified by:
getin interfaceFloatFloatMap
-
getIfAbsent
public float getIfAbsent(float key, float ifAbsent) - Specified by:
getIfAbsentin interfaceFloatFloatMap
-
getOrThrow
public float getOrThrow(float key) - Specified by:
getOrThrowin interfaceFloatFloatMap
-
containsKey
public boolean containsKey(float key) - Specified by:
containsKeyin interfaceFloatFloatMap
-
containsValue
public boolean containsValue(float value) - Specified by:
containsValuein interfaceFloatValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceFloatValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceFloatFloatMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceFloatFloatMap
-
keysView
- Specified by:
keysViewin interfaceFloatFloatMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceFloatFloatMap
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceFloatFloatMap- Specified by:
flipUniqueValuesin interfaceMutableFloatFloatMap
-
select
- Specified by:
selectin interfaceFloatFloatMap- Specified by:
selectin interfaceMutableFloatFloatMap
-
reject
- Specified by:
rejectin interfaceFloatFloatMap- Specified by:
rejectin interfaceMutableFloatFloatMap
-
floatIterator
- Specified by:
floatIteratorin interfaceFloatIterable- Specified by:
floatIteratorin interfaceMutableFloatValuesMap
-
each
- Specified by:
eachin interfaceFloatIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceFloatIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceFloatIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceFloatIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceFloatIterable
-
select
- Specified by:
selectin interfaceFloatIterable- Specified by:
selectin interfaceFloatValuesMap- Specified by:
selectin interfaceMutableFloatValuesMap
-
reject
- Specified by:
rejectin interfaceFloatIterable- Specified by:
rejectin interfaceFloatValuesMap- Specified by:
rejectin interfaceMutableFloatValuesMap
-
collect
- Specified by:
collectin interfaceFloatIterable- Specified by:
collectin interfaceFloatValuesMap- Specified by:
collectin interfaceMutableFloatValuesMap
-
detectIfNone
- Specified by:
detectIfNonein interfaceFloatIterable
-
sum
public double sum()- Specified by:
sumin interfaceFloatIterable
-
max
public float max()- Specified by:
maxin interfaceFloatIterable
-
maxIfEmpty
public float maxIfEmpty(float defaultValue) - Specified by:
maxIfEmptyin interfaceFloatIterable
-
min
public float min()- Specified by:
minin interfaceFloatIterable
-
minIfEmpty
public float minIfEmpty(float defaultValue) - Specified by:
minIfEmptyin interfaceFloatIterable
-
average
public double average()- Specified by:
averagein interfaceFloatIterable
-
median
public double median()- Specified by:
medianin interfaceFloatIterable
-
addToValue
public float addToValue(float key, float toBeAdded) - Specified by:
addToValuein interfaceMutableFloatFloatMap
-
toSortedArray
public float[] toSortedArray()- Specified by:
toSortedArrayin interfaceFloatIterable
-
toSortedList
- Specified by:
toSortedListin interfaceFloatIterable
-
toArray
public float[] toArray()- Specified by:
toArrayin interfaceFloatIterable
-
toArray
public float[] toArray(float[] target) - Specified by:
toArrayin interfaceFloatIterable
-
contains
public boolean contains(float value) - Specified by:
containsin interfaceFloatIterable
-
containsAll
public boolean containsAll(float... source) - Specified by:
containsAllin interfaceFloatIterable
-
containsAll
- Specified by:
containsAllin interfaceFloatIterable
-
toList
- Specified by:
toListin interfaceFloatIterable
-
toSet
- Specified by:
toSetin interfaceFloatIterable
-
toBag
- Specified by:
toBagin interfaceFloatIterable
-
asLazy
- Specified by:
asLazyin interfaceFloatIterable
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableFloatFloatMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableFloatFloatMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableFloatFloatMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableFloatFloatMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableFloatFloatMap
-
toImmutable
- Specified by:
toImmutablein interfaceFloatFloatMap
-
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 interfaceFloatFloatMap
-
values
- Specified by:
valuesin interfaceFloatValuesMap
-
equals
- Specified by:
equalsin interfaceFloatFloatMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceFloatFloatMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceFloatFloatMap- 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, ObjectFloatToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceFloatIterable
-
chunk
- Specified by:
chunkin interfaceFloatIterable
-