Class UnmodifiableObjectFloatMap<K>
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableObjectFloatMap<K>
- All Implemented Interfaces:
Serializable,FloatIterable,MutableObjectFloatMap<K>,ObjectFloatMap<K>,PrimitiveIterable
public class UnmodifiableObjectFloatMap<K>
extends Object
implements MutableObjectFloatMap<K>, Serializable
This file was automatically generated from template file unmodifiableObjectPrimitiveMap.stg.
- Since:
- 3.2
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloataddToValue(K 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()<V1> MutableCollection<V1>collect(FloatToObjectFunction<? extends V1> function) booleancontains(float value) booleancontainsAll(float... source) booleancontainsAll(FloatIterable source) booleancontainsKey(Object key) booleancontainsValue(float value) intcount(FloatPredicate predicate) floatdetectIfNone(FloatPredicate predicate, float ifNone) voideach(FloatProcedure procedure) booleanvoidforEachKey(Procedure<? super K> procedure) voidforEachKeyValue(ObjectFloatProcedure<? super K> procedure) voidforEachValue(FloatProcedure procedure) floatfloatfloatgetIfAbsent(Object key, float ifAbsent) floatgetIfAbsentPut(K key, float value) floatgetIfAbsentPut(K key, FloatFunction0 function) <P> floatgetIfAbsentPutWith(K key, FloatFunction<? super P> function, P parameter) floatgetIfAbsentPutWithKey(K key, FloatFunction<? super K> function) floatgetOrThrow(Object 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()voidvoidputAll(ObjectFloatMap<? extends K> map) voidputPair(ObjectFloatPair<K> keyValuePair) reject(FloatPredicate predicate) reject(ObjectFloatPredicate<? super K> predicate) voidvoidfloatremoveKeyIfAbsent(K key, float value) select(FloatPredicate predicate) select(ObjectFloatPredicate<? super K> predicate) intsize()doublesum()float[]toArray()float[]toArray(float[] target) toBag()toList()toSet()float[]toString()floatupdateValue(K key, float initialValueIfAbsent, FloatToFloatFunction function) voidupdateValues(ObjectFloatToFloatFunction<? super K> function) values()withKeyValue(K key, float value) withoutAllKeys(Iterable<? extends K> keys) withoutKey(K key) Methods 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.MutableObjectFloatMap
tap, withAllKeyValuesMethods inherited from interface org.eclipse.collections.api.map.primitive.ObjectFloatMap
allSatisfyKeyValue, injectIntoKeyValue
-
Constructor Details
-
UnmodifiableObjectFloatMap
-
-
Method Details
-
getAndPut
- Specified by:
getAndPutin interfaceMutableObjectFloatMap<K>
-
clear
public void clear()- Specified by:
clearin interfaceMutableObjectFloatMap<K>
-
put
- Specified by:
putin interfaceMutableObjectFloatMap<K>
-
putPair
- Specified by:
putPairin interfaceMutableObjectFloatMap<K>
-
putAll
- Specified by:
putAllin interfaceMutableObjectFloatMap<K>
-
updateValues
- Specified by:
updateValuesin interfaceMutableObjectFloatMap<K>
-
removeKey
- Specified by:
removeKeyin interfaceMutableObjectFloatMap<K>
-
remove
- Specified by:
removein interfaceMutableObjectFloatMap<K>
-
removeKeyIfAbsent
- Specified by:
removeKeyIfAbsentin interfaceMutableObjectFloatMap<K>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableObjectFloatMap<K>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableObjectFloatMap<K>
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableObjectFloatMap<K>
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableObjectFloatMap<K>
-
updateValue
- Specified by:
updateValuein interfaceMutableObjectFloatMap<K>
-
addToValue
- Specified by:
addToValuein interfaceMutableObjectFloatMap<K>
-
get
- Specified by:
getin interfaceObjectFloatMap<K>
-
getOrThrow
- Specified by:
getOrThrowin interfaceObjectFloatMap<K>
-
getIfAbsent
- Specified by:
getIfAbsentin interfaceObjectFloatMap<K>
-
containsKey
- Specified by:
containsKeyin interfaceObjectFloatMap<K>
-
containsValue
public boolean containsValue(float value) - Specified by:
containsValuein interfaceObjectFloatMap<K>
-
forEachValue
- Specified by:
forEachValuein interfaceObjectFloatMap<K>
-
forEachKey
- Specified by:
forEachKeyin interfaceObjectFloatMap<K>
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceObjectFloatMap<K>
-
select
- Specified by:
selectin interfaceMutableObjectFloatMap<K>- Specified by:
selectin interfaceObjectFloatMap<K>
-
reject
- Specified by:
rejectin interfaceMutableObjectFloatMap<K>- Specified by:
rejectin interfaceObjectFloatMap<K>
-
floatIterator
- Specified by:
floatIteratorin interfaceFloatIterable- Specified by:
floatIteratorin interfaceMutableObjectFloatMap<K>
-
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 interfaceMutableObjectFloatMap<K>
-
reject
- Specified by:
rejectin interfaceFloatIterable- Specified by:
rejectin interfaceMutableObjectFloatMap<K>
-
detectIfNone
- Specified by:
detectIfNonein interfaceFloatIterable
-
collect
- Specified by:
collectin interfaceFloatIterable- Specified by:
collectin interfaceMutableObjectFloatMap<K>
-
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
-
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 interfaceMutableObjectFloatMap<K>
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableObjectFloatMap<K>
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableObjectFloatMap<K>
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableObjectFloatMap<K>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableObjectFloatMap<K>
-
toImmutable
- Specified by:
toImmutablein interfaceObjectFloatMap<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 interfaceObjectFloatMap<K>
-
values
- Specified by:
valuesin interfaceObjectFloatMap<K>
-
keysView
- Specified by:
keysViewin interfaceObjectFloatMap<K>
-
keyValuesView
- Specified by:
keyValuesViewin interfaceObjectFloatMap<K>
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceMutableObjectFloatMap<K>- Specified by:
flipUniqueValuesin interfaceObjectFloatMap<K>
-
equals
-
hashCode
public int hashCode() -
toString
- Specified by:
toStringin interfaceObjectFloatMap<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, ObjectFloatToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceFloatIterable
-
chunk
- Specified by:
chunkin interfaceFloatIterable
-