public final class SynchronizedLongFloatMap extends Object implements org.eclipse.collections.api.map.primitive.MutableLongFloatMap, Serializable
MutableLongFloatMap. 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.
MutableLongFloatMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
float |
addToValue(long 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.MutableLongFloatMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableLongFloatMap |
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(long 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.LongProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.LongFloatProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
float |
get(long key) |
float |
getIfAbsent(long key,
float ifAbsent) |
float |
getIfAbsentPut(long key,
float value) |
float |
getIfAbsentPut(long key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function) |
<P> float |
getIfAbsentPutWith(long key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter) |
float |
getIfAbsentPutWithKey(long key,
org.eclipse.collections.api.block.function.primitive.LongToFloatFunction function) |
float |
getOrThrow(long 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.MutableLongSet |
keySet() |
org.eclipse.collections.api.LazyLongIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.LongFloatPair> |
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(long key,
float value) |
void |
putAll(org.eclipse.collections.api.map.primitive.LongFloatMap map) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableLongFloatMap |
reject(org.eclipse.collections.api.block.predicate.primitive.LongFloatPredicate predicate) |
void |
remove(long key) |
void |
removeKey(long key) |
float |
removeKeyIfAbsent(long 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.MutableLongFloatMap |
select(org.eclipse.collections.api.block.predicate.primitive.LongFloatPredicate predicate) |
int |
size() |
double |
sum() |
float[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableFloatBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableLongFloatMap |
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(long 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.MutableLongFloatMap |
withKeyValue(long key,
float value) |
org.eclipse.collections.api.map.primitive.MutableLongFloatMap |
withoutAllKeys(org.eclipse.collections.api.LongIterable keys) |
org.eclipse.collections.api.map.primitive.MutableLongFloatMap |
withoutKey(long key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic void put(long key,
float value)
put in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic void putAll(org.eclipse.collections.api.map.primitive.LongFloatMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic void removeKey(long key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic void remove(long key)
remove in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic float removeKeyIfAbsent(long key,
float value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic float getIfAbsentPut(long key,
float value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic float getIfAbsentPut(long key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic float getIfAbsentPutWithKey(long key,
org.eclipse.collections.api.block.function.primitive.LongToFloatFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic <P> float getIfAbsentPutWith(long key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic float updateValue(long key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic float get(long key)
get in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic float getIfAbsent(long key,
float ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic float getOrThrow(long key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic boolean containsKey(long key)
containsKey in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic 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.LongProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.LongFloatProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic org.eclipse.collections.api.LazyLongIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.LongFloatPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic org.eclipse.collections.api.map.primitive.MutableLongFloatMap select(org.eclipse.collections.api.block.predicate.primitive.LongFloatPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.LongFloatMapselect in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic org.eclipse.collections.api.map.primitive.MutableLongFloatMap reject(org.eclipse.collections.api.block.predicate.primitive.LongFloatPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.LongFloatMapreject in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic 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(long key,
float toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic 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.MutableLongFloatMap withKeyValue(long key,
float value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic org.eclipse.collections.api.map.primitive.MutableLongFloatMap withoutKey(long key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic org.eclipse.collections.api.map.primitive.MutableLongFloatMap withoutAllKeys(org.eclipse.collections.api.LongIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic org.eclipse.collections.api.map.primitive.MutableLongFloatMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic org.eclipse.collections.api.map.primitive.MutableLongFloatMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic org.eclipse.collections.api.map.primitive.ImmutableLongFloatMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic 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.MutableLongSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic 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.