public final class SynchronizedIntFloatMap extends Object implements org.eclipse.collections.api.map.primitive.MutableIntFloatMap, Serializable
MutableIntFloatMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
MutableFloatIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitivePrimitiveMap.stg.
MutableIntFloatMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
float |
addToValue(int key,
float toBeAdded) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyFloatIterable |
asLazy() |
org.eclipse.collections.api.map.primitive.MutableIntFloatMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableIntFloatMap |
asUnmodifiable() |
double |
average() |
void |
clear() |
<V> org.eclipse.collections.api.collection.MutableCollection<V> |
collect(org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function) |
boolean |
contains(float value) |
boolean |
containsAll(float... source) |
boolean |
containsAll(org.eclipse.collections.api.FloatIterable source) |
boolean |
containsKey(int key) |
boolean |
containsValue(float value) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
float |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate,
float ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
boolean |
equals(Object otherMap) |
org.eclipse.collections.api.iterator.MutableFloatIterator |
floatIterator()
This must be manually synchronized by the developer.
|
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.IntFloatProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
float |
get(int key) |
float |
getIfAbsent(int key,
float ifAbsent) |
float |
getIfAbsentPut(int key,
float value) |
float |
getIfAbsentPut(int key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function) |
<P> float |
getIfAbsentPutWith(int key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter) |
float |
getIfAbsentPutWithKey(int key,
org.eclipse.collections.api.block.function.primitive.IntToFloatFunction function) |
float |
getOrThrow(int key) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectFloatToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
org.eclipse.collections.api.set.primitive.MutableIntSet |
keySet() |
org.eclipse.collections.api.LazyIntIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.IntFloatPair> |
keyValuesView() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
float |
max() |
float |
maxIfEmpty(float defaultValue) |
double |
median() |
float |
min() |
float |
minIfEmpty(float defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
boolean |
notEmpty() |
void |
put(int key,
float value) |
void |
putAll(org.eclipse.collections.api.map.primitive.IntFloatMap map) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableIntFloatMap |
reject(org.eclipse.collections.api.block.predicate.primitive.IntFloatPredicate predicate) |
void |
remove(int key) |
void |
removeKey(int key) |
float |
removeKeyIfAbsent(int key,
float value) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
select(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableIntFloatMap |
select(org.eclipse.collections.api.block.predicate.primitive.IntFloatPredicate predicate) |
int |
size() |
double |
sum() |
float[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableFloatBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableIntFloatMap |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableFloatList |
toList() |
org.eclipse.collections.api.set.primitive.MutableFloatSet |
toSet() |
float[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableFloatList |
toSortedList() |
String |
toString() |
float |
updateValue(int key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
values() |
org.eclipse.collections.api.map.primitive.MutableIntFloatMap |
withKeyValue(int key,
float value) |
org.eclipse.collections.api.map.primitive.MutableIntFloatMap |
withoutAllKeys(org.eclipse.collections.api.IntIterable keys) |
org.eclipse.collections.api.map.primitive.MutableIntFloatMap |
withoutKey(int key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic void put(int key,
float value)
put in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic void putAll(org.eclipse.collections.api.map.primitive.IntFloatMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic void removeKey(int key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic void remove(int key)
remove in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic float removeKeyIfAbsent(int key,
float value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic float getIfAbsentPut(int key,
float value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic float getIfAbsentPut(int key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic float getIfAbsentPutWithKey(int key,
org.eclipse.collections.api.block.function.primitive.IntToFloatFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic <P> float getIfAbsentPutWith(int key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic float updateValue(int key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic float get(int key)
get in interface org.eclipse.collections.api.map.primitive.IntFloatMappublic float getIfAbsent(int key,
float ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.IntFloatMappublic float getOrThrow(int key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.IntFloatMappublic boolean containsKey(int key)
containsKey in interface org.eclipse.collections.api.map.primitive.IntFloatMappublic boolean containsValue(float value)
containsValue in interface org.eclipse.collections.api.map.primitive.FloatValuesMappublic void forEachValue(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEachValue in interface org.eclipse.collections.api.map.primitive.FloatValuesMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.IntFloatMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.IntFloatProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.IntFloatMappublic org.eclipse.collections.api.LazyIntIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.IntFloatMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.IntFloatPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.IntFloatMappublic org.eclipse.collections.api.map.primitive.MutableIntFloatMap select(org.eclipse.collections.api.block.predicate.primitive.IntFloatPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.IntFloatMapselect in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic org.eclipse.collections.api.map.primitive.MutableIntFloatMap reject(org.eclipse.collections.api.block.predicate.primitive.IntFloatPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.IntFloatMapreject in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic org.eclipse.collections.api.iterator.MutableFloatIterator floatIterator()
floatIterator in interface org.eclipse.collections.api.FloatIterablefloatIterator in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic void forEach(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEach in interface org.eclipse.collections.api.FloatIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
each in interface org.eclipse.collections.api.FloatIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
count in interface org.eclipse.collections.api.FloatIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
anySatisfy in interface org.eclipse.collections.api.FloatIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
allSatisfy in interface org.eclipse.collections.api.FloatIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.collection.primitive.MutableFloatCollection select(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
select in interface org.eclipse.collections.api.FloatIterableselect in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic org.eclipse.collections.api.collection.primitive.MutableFloatCollection reject(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
reject in interface org.eclipse.collections.api.FloatIterablereject in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic float detectIfNone(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate,
float ifNone)
detectIfNone in interface org.eclipse.collections.api.FloatIterablepublic <V> org.eclipse.collections.api.collection.MutableCollection<V> collect(org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.FloatIterablecollect in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic double sum()
sum in interface org.eclipse.collections.api.FloatIterablepublic float max()
max in interface org.eclipse.collections.api.FloatIterablepublic float maxIfEmpty(float defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.FloatIterablepublic float min()
min in interface org.eclipse.collections.api.FloatIterablepublic float minIfEmpty(float defaultValue)
minIfEmpty in interface org.eclipse.collections.api.FloatIterablepublic double average()
average in interface org.eclipse.collections.api.FloatIterablepublic double median()
median in interface org.eclipse.collections.api.FloatIterablepublic float addToValue(int key,
float toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic float[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.list.primitive.MutableFloatList toSortedList()
toSortedList in interface org.eclipse.collections.api.FloatIterablepublic float[] toArray()
toArray in interface org.eclipse.collections.api.FloatIterablepublic boolean contains(float value)
contains in interface org.eclipse.collections.api.FloatIterablepublic boolean containsAll(float... source)
containsAll in interface org.eclipse.collections.api.FloatIterablepublic boolean containsAll(org.eclipse.collections.api.FloatIterable source)
containsAll in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.list.primitive.MutableFloatList toList()
toList in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.set.primitive.MutableFloatSet toSet()
toSet in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.bag.primitive.MutableFloatBag toBag()
toBag in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.LazyFloatIterable asLazy()
asLazy in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.map.primitive.MutableIntFloatMap withKeyValue(int key,
float value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic org.eclipse.collections.api.map.primitive.MutableIntFloatMap withoutKey(int key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic org.eclipse.collections.api.map.primitive.MutableIntFloatMap withoutAllKeys(org.eclipse.collections.api.IntIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic org.eclipse.collections.api.map.primitive.MutableIntFloatMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic org.eclipse.collections.api.map.primitive.MutableIntFloatMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableIntFloatMappublic org.eclipse.collections.api.map.primitive.ImmutableIntFloatMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.IntFloatMappublic int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic org.eclipse.collections.api.set.primitive.MutableIntSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.IntFloatMappublic org.eclipse.collections.api.collection.primitive.MutableFloatCollection values()
values in interface org.eclipse.collections.api.map.primitive.FloatValuesMappublic boolean equals(Object otherMap)
public int hashCode()
public String toString()
public String makeString()
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String separator)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectFloatToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.FloatIterableCopyright © 2004–2018. All rights reserved.