public class SynchronizedFloatIntMap extends Object implements MutableFloatIntMap, Serializable
MutableFloatIntMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
MutableIntIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitivePrimitiveMap.stg.
MutableFloatIntMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Constructor and Description |
|---|
SynchronizedFloatIntMap(MutableFloatIntMap map) |
SynchronizedFloatIntMap(MutableFloatIntMap 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 SynchronizedFloatIntMap(MutableFloatIntMap map)
public SynchronizedFloatIntMap(MutableFloatIntMap map, Object newLock)
public void clear()
clear in interface MutableIntValuesMappublic void put(float key,
int value)
put in interface MutableFloatIntMappublic void putPair(FloatIntPair keyValuePair)
putPair in interface MutableFloatIntMappublic void putAll(FloatIntMap map)
putAll in interface MutableFloatIntMappublic void updateValues(FloatIntToIntFunction function)
updateValues in interface MutableFloatIntMappublic void removeKey(float key)
removeKey in interface MutableFloatIntMappublic void remove(float key)
remove in interface MutableFloatIntMappublic int removeKeyIfAbsent(float key,
int value)
removeKeyIfAbsent in interface MutableFloatIntMappublic int getIfAbsentPut(float key,
int value)
getIfAbsentPut in interface MutableFloatIntMappublic int getAndPut(float key,
int putValue,
int defaultValue)
getAndPut in interface MutableFloatIntMappublic int getIfAbsentPut(float key,
IntFunction0 function)
getIfAbsentPut in interface MutableFloatIntMappublic int getIfAbsentPutWithKey(float key,
FloatToIntFunction function)
getIfAbsentPutWithKey in interface MutableFloatIntMappublic <P> int getIfAbsentPutWith(float key,
IntFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableFloatIntMappublic int updateValue(float key,
int initialValueIfAbsent,
IntToIntFunction function)
updateValue in interface MutableFloatIntMappublic int get(float key)
get in interface FloatIntMappublic int getIfAbsent(float key,
int ifAbsent)
getIfAbsent in interface FloatIntMappublic int getOrThrow(float key)
getOrThrow in interface FloatIntMappublic boolean containsKey(float key)
containsKey in interface FloatIntMappublic boolean containsValue(int value)
containsValue in interface IntValuesMappublic void forEachValue(IntProcedure procedure)
forEachValue in interface IntValuesMappublic void forEachKey(FloatProcedure procedure)
forEachKey in interface FloatIntMappublic void forEachKeyValue(FloatIntProcedure procedure)
forEachKeyValue in interface FloatIntMappublic LazyFloatIterable keysView()
keysView in interface FloatIntMappublic RichIterable<FloatIntPair> keyValuesView()
keyValuesView in interface FloatIntMappublic MutableIntFloatMap flipUniqueValues()
flipUniqueValues in interface FloatIntMapflipUniqueValues in interface MutableFloatIntMappublic MutableFloatIntMap select(FloatIntPredicate predicate)
select in interface FloatIntMapselect in interface MutableFloatIntMappublic MutableFloatIntMap reject(FloatIntPredicate predicate)
reject in interface FloatIntMapreject in interface MutableFloatIntMappublic MutableIntIterator intIterator()
intIterator in interface IntIterableintIterator in interface MutableIntValuesMappublic void each(IntProcedure procedure)
each in interface IntIterablepublic int count(IntPredicate predicate)
count in interface IntIterablepublic boolean anySatisfy(IntPredicate predicate)
anySatisfy in interface IntIterablepublic boolean allSatisfy(IntPredicate predicate)
allSatisfy in interface IntIterablepublic boolean noneSatisfy(IntPredicate predicate)
noneSatisfy in interface IntIterablepublic MutableIntBag select(IntPredicate predicate)
select in interface IntIterableselect in interface IntValuesMapselect in interface MutableIntValuesMappublic MutableIntBag reject(IntPredicate predicate)
reject in interface IntIterablereject in interface IntValuesMapreject in interface MutableIntValuesMappublic <V> MutableBag<V> collect(IntToObjectFunction<? extends V> function)
collect in interface IntIterablecollect in interface IntValuesMapcollect in interface MutableIntValuesMappublic int detectIfNone(IntPredicate predicate, int ifNone)
detectIfNone in interface IntIterablepublic long sum()
sum in interface IntIterablepublic int max()
max in interface IntIterablepublic int maxIfEmpty(int defaultValue)
maxIfEmpty in interface IntIterablepublic int min()
min in interface IntIterablepublic int minIfEmpty(int defaultValue)
minIfEmpty in interface IntIterablepublic double average()
average in interface IntIterablepublic double median()
median in interface IntIterablepublic int addToValue(float key,
int toBeAdded)
addToValue in interface MutableFloatIntMappublic int[] toSortedArray()
toSortedArray in interface IntIterablepublic MutableIntList toSortedList()
toSortedList in interface IntIterablepublic int[] toArray()
toArray in interface IntIterablepublic int[] toArray(int[] target)
toArray in interface IntIterablepublic boolean contains(int value)
contains in interface IntIterablepublic boolean containsAll(int... source)
containsAll in interface IntIterablepublic boolean containsAll(IntIterable source)
containsAll in interface IntIterablepublic MutableIntList toList()
toList in interface IntIterablepublic MutableIntSet toSet()
toSet in interface IntIterablepublic MutableIntBag toBag()
toBag in interface IntIterablepublic LazyIntIterable asLazy()
asLazy in interface IntIterablepublic MutableFloatIntMap withKeyValue(float key, int value)
withKeyValue in interface MutableFloatIntMappublic MutableFloatIntMap withoutKey(float key)
withoutKey in interface MutableFloatIntMappublic MutableFloatIntMap withoutAllKeys(FloatIterable keys)
withoutAllKeys in interface MutableFloatIntMappublic MutableFloatIntMap asUnmodifiable()
asUnmodifiable in interface MutableFloatIntMappublic MutableFloatIntMap asSynchronized()
asSynchronized in interface MutableFloatIntMappublic ImmutableFloatIntMap toImmutable()
toImmutable in interface FloatIntMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableFloatSet keySet()
keySet in interface FloatIntMappublic MutableIntCollection values()
values in interface IntValuesMappublic boolean equals(Object otherMap)
equals in interface FloatIntMapequals in class Objectpublic int hashCode()
hashCode in interface FloatIntMaphashCode in class Objectpublic String toString()
toString in interface FloatIntMaptoString 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,
ObjectIntToObjectFunction<? super T,? extends T> function)
injectInto in interface IntIterablepublic RichIterable<IntIterable> chunk(int size)
chunk in interface IntIterableCopyright © 2004–2022. All rights reserved.