public final class SynchronizedFloatFloatMap extends Object implements org.eclipse.collections.api.map.primitive.MutableFloatFloatMap, Serializable
MutableFloatFloatMap. 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.
MutableFloatFloatMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
float |
addToValue(float 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.MutableFloatFloatMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableFloatFloatMap |
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(float 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.FloatProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatFloatProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
float |
get(float key) |
float |
getIfAbsent(float key,
float ifAbsent) |
float |
getIfAbsentPut(float key,
float value) |
float |
getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function) |
<P> float |
getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter) |
float |
getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function) |
float |
getOrThrow(float 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.MutableFloatSet |
keySet() |
org.eclipse.collections.api.LazyFloatIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.FloatFloatPair> |
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(float key,
float value) |
void |
putAll(org.eclipse.collections.api.map.primitive.FloatFloatMap map) |
org.eclipse.collections.api.map.primitive.MutableFloatFloatMap |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatFloatPredicate predicate) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
void |
remove(float key) |
void |
removeKey(float key) |
float |
removeKeyIfAbsent(float key,
float value) |
org.eclipse.collections.api.map.primitive.MutableFloatFloatMap |
select(org.eclipse.collections.api.block.predicate.primitive.FloatFloatPredicate predicate) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
select(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
int |
size() |
double |
sum() |
float[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableFloatBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableFloatFloatMap |
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(float 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.MutableFloatFloatMap |
withKeyValue(float key,
float value) |
org.eclipse.collections.api.map.primitive.MutableFloatFloatMap |
withoutAllKeys(org.eclipse.collections.api.FloatIterable keys) |
org.eclipse.collections.api.map.primitive.MutableFloatFloatMap |
withoutKey(float key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic void put(float key,
float value)
put in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic void putAll(org.eclipse.collections.api.map.primitive.FloatFloatMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic void removeKey(float key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic void remove(float key)
remove in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic float removeKeyIfAbsent(float key,
float value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic float getIfAbsentPut(float key,
float value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic float getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic float getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic <P> float getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic float updateValue(float key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic float get(float key)
get in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic float getIfAbsent(float key,
float ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic float getOrThrow(float key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic boolean containsKey(float key)
containsKey in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic 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.FloatProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatFloatProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic org.eclipse.collections.api.LazyFloatIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.FloatFloatPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic org.eclipse.collections.api.map.primitive.MutableFloatFloatMap select(org.eclipse.collections.api.block.predicate.primitive.FloatFloatPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.FloatFloatMapselect in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic org.eclipse.collections.api.map.primitive.MutableFloatFloatMap reject(org.eclipse.collections.api.block.predicate.primitive.FloatFloatPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.FloatFloatMapreject in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic 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(float key,
float toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic 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.MutableFloatFloatMap withKeyValue(float key,
float value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic org.eclipse.collections.api.map.primitive.MutableFloatFloatMap withoutKey(float key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic org.eclipse.collections.api.map.primitive.MutableFloatFloatMap withoutAllKeys(org.eclipse.collections.api.FloatIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic org.eclipse.collections.api.map.primitive.MutableFloatFloatMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic org.eclipse.collections.api.map.primitive.MutableFloatFloatMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic org.eclipse.collections.api.map.primitive.ImmutableFloatFloatMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic 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.MutableFloatSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic 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–2017. All rights reserved.