public class SynchronizedLongFloatMap extends Object implements 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| Constructor and Description |
|---|
SynchronizedLongFloatMap(MutableLongFloatMap map) |
SynchronizedLongFloatMap(MutableLongFloatMap map,
Object newLock) |
withAllKeyValuesinjectIntoKeyValuetapaverageIfEmpty, 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, toSortedListBypublic SynchronizedLongFloatMap(MutableLongFloatMap map)
public SynchronizedLongFloatMap(MutableLongFloatMap map, Object newLock)
public void clear()
clear in interface MutableFloatValuesMappublic void put(long key,
float value)
put in interface MutableLongFloatMappublic void putPair(LongFloatPair keyValuePair)
putPair in interface MutableLongFloatMappublic void putAll(LongFloatMap map)
putAll in interface MutableLongFloatMappublic void updateValues(LongFloatToFloatFunction function)
updateValues in interface MutableLongFloatMappublic void removeKey(long key)
removeKey in interface MutableLongFloatMappublic void remove(long key)
remove in interface MutableLongFloatMappublic float removeKeyIfAbsent(long key,
float value)
removeKeyIfAbsent in interface MutableLongFloatMappublic float getIfAbsentPut(long key,
float value)
getIfAbsentPut in interface MutableLongFloatMappublic float getAndPut(long key,
float putValue,
float defaultValue)
getAndPut in interface MutableLongFloatMappublic float getIfAbsentPut(long key,
FloatFunction0 function)
getIfAbsentPut in interface MutableLongFloatMappublic float getIfAbsentPutWithKey(long key,
LongToFloatFunction function)
getIfAbsentPutWithKey in interface MutableLongFloatMappublic <P> float getIfAbsentPutWith(long key,
FloatFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableLongFloatMappublic float updateValue(long key,
float initialValueIfAbsent,
FloatToFloatFunction function)
updateValue in interface MutableLongFloatMappublic float get(long key)
get in interface LongFloatMappublic float getIfAbsent(long key,
float ifAbsent)
getIfAbsent in interface LongFloatMappublic float getOrThrow(long key)
getOrThrow in interface LongFloatMappublic boolean containsKey(long key)
containsKey in interface LongFloatMappublic boolean containsValue(float value)
containsValue in interface FloatValuesMappublic void forEachValue(FloatProcedure procedure)
forEachValue in interface FloatValuesMappublic void forEachKey(LongProcedure procedure)
forEachKey in interface LongFloatMappublic void forEachKeyValue(LongFloatProcedure procedure)
forEachKeyValue in interface LongFloatMappublic LazyLongIterable keysView()
keysView in interface LongFloatMappublic RichIterable<LongFloatPair> keyValuesView()
keyValuesView in interface LongFloatMappublic MutableFloatLongMap flipUniqueValues()
flipUniqueValues in interface LongFloatMapflipUniqueValues in interface MutableLongFloatMappublic MutableLongFloatMap select(LongFloatPredicate predicate)
select in interface LongFloatMapselect in interface MutableLongFloatMappublic MutableLongFloatMap reject(LongFloatPredicate predicate)
reject in interface LongFloatMapreject in interface MutableLongFloatMappublic MutableFloatIterator floatIterator()
floatIterator in interface FloatIterablefloatIterator in interface MutableFloatValuesMappublic void each(FloatProcedure procedure)
each in interface FloatIterablepublic int count(FloatPredicate predicate)
count in interface FloatIterablepublic boolean anySatisfy(FloatPredicate predicate)
anySatisfy in interface FloatIterablepublic boolean allSatisfy(FloatPredicate predicate)
allSatisfy in interface FloatIterablepublic boolean noneSatisfy(FloatPredicate predicate)
noneSatisfy in interface FloatIterablepublic MutableFloatBag select(FloatPredicate predicate)
select in interface FloatIterableselect in interface FloatValuesMapselect in interface MutableFloatValuesMappublic MutableFloatBag reject(FloatPredicate predicate)
reject in interface FloatIterablereject in interface FloatValuesMapreject in interface MutableFloatValuesMappublic <V> MutableBag<V> collect(FloatToObjectFunction<? extends V> function)
collect in interface FloatIterablecollect in interface FloatValuesMapcollect in interface MutableFloatValuesMappublic float detectIfNone(FloatPredicate predicate, float ifNone)
detectIfNone in interface FloatIterablepublic double sum()
sum in interface FloatIterablepublic float max()
max in interface FloatIterablepublic float maxIfEmpty(float defaultValue)
maxIfEmpty in interface FloatIterablepublic float min()
min in interface FloatIterablepublic float minIfEmpty(float defaultValue)
minIfEmpty in interface FloatIterablepublic double average()
average in interface FloatIterablepublic double median()
median in interface FloatIterablepublic float addToValue(long key,
float toBeAdded)
addToValue in interface MutableLongFloatMappublic float[] toSortedArray()
toSortedArray in interface FloatIterablepublic MutableFloatList toSortedList()
toSortedList in interface FloatIterablepublic float[] toArray()
toArray in interface FloatIterablepublic float[] toArray(float[] target)
toArray in interface FloatIterablepublic boolean contains(float value)
contains in interface FloatIterablepublic boolean containsAll(float... source)
containsAll in interface FloatIterablepublic boolean containsAll(FloatIterable source)
containsAll in interface FloatIterablepublic MutableFloatList toList()
toList in interface FloatIterablepublic MutableFloatSet toSet()
toSet in interface FloatIterablepublic MutableFloatBag toBag()
toBag in interface FloatIterablepublic LazyFloatIterable asLazy()
asLazy in interface FloatIterablepublic MutableLongFloatMap withKeyValue(long key, float value)
withKeyValue in interface MutableLongFloatMappublic MutableLongFloatMap withoutKey(long key)
withoutKey in interface MutableLongFloatMappublic MutableLongFloatMap withoutAllKeys(LongIterable keys)
withoutAllKeys in interface MutableLongFloatMappublic MutableLongFloatMap asUnmodifiable()
asUnmodifiable in interface MutableLongFloatMappublic MutableLongFloatMap asSynchronized()
asSynchronized in interface MutableLongFloatMappublic ImmutableLongFloatMap toImmutable()
toImmutable in interface LongFloatMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableLongSet keySet()
keySet in interface LongFloatMappublic MutableFloatCollection values()
values in interface FloatValuesMappublic boolean equals(Object otherMap)
equals in interface LongFloatMapequals in class Objectpublic int hashCode()
hashCode in interface LongFloatMaphashCode in class Objectpublic String toString()
toString in interface LongFloatMaptoString in interface PrimitiveIterabletoString in class Objectpublic String makeString()
makeString in interface PrimitiveIterablepublic String makeString(String separator)
makeString in interface PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface PrimitiveIterablepublic <T> T injectInto(T injectedValue,
ObjectFloatToObjectFunction<? super T,? extends T> function)
injectInto in interface FloatIterablepublic RichIterable<FloatIterable> chunk(int size)
chunk in interface FloatIterableCopyright © 2004–2022. All rights reserved.