public class SynchronizedFloatByteMap extends Object implements MutableFloatByteMap, Serializable
MutableFloatByteMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
MutableByteIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitivePrimitiveMap.stg.
MutableFloatByteMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Constructor and Description |
|---|
SynchronizedFloatByteMap(MutableFloatByteMap map) |
SynchronizedFloatByteMap(MutableFloatByteMap 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 SynchronizedFloatByteMap(MutableFloatByteMap map)
public SynchronizedFloatByteMap(MutableFloatByteMap map, Object newLock)
public void clear()
clear in interface MutableByteValuesMappublic void put(float key,
byte value)
put in interface MutableFloatByteMappublic void putPair(FloatBytePair keyValuePair)
putPair in interface MutableFloatByteMappublic void putAll(FloatByteMap map)
putAll in interface MutableFloatByteMappublic void updateValues(FloatByteToByteFunction function)
updateValues in interface MutableFloatByteMappublic void removeKey(float key)
removeKey in interface MutableFloatByteMappublic void remove(float key)
remove in interface MutableFloatByteMappublic byte removeKeyIfAbsent(float key,
byte value)
removeKeyIfAbsent in interface MutableFloatByteMappublic byte getIfAbsentPut(float key,
byte value)
getIfAbsentPut in interface MutableFloatByteMappublic byte getAndPut(float key,
byte putValue,
byte defaultValue)
getAndPut in interface MutableFloatByteMappublic byte getIfAbsentPut(float key,
ByteFunction0 function)
getIfAbsentPut in interface MutableFloatByteMappublic byte getIfAbsentPutWithKey(float key,
FloatToByteFunction function)
getIfAbsentPutWithKey in interface MutableFloatByteMappublic <P> byte getIfAbsentPutWith(float key,
ByteFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableFloatByteMappublic byte updateValue(float key,
byte initialValueIfAbsent,
ByteToByteFunction function)
updateValue in interface MutableFloatByteMappublic byte get(float key)
get in interface FloatByteMappublic byte getIfAbsent(float key,
byte ifAbsent)
getIfAbsent in interface FloatByteMappublic byte getOrThrow(float key)
getOrThrow in interface FloatByteMappublic boolean containsKey(float key)
containsKey in interface FloatByteMappublic boolean containsValue(byte value)
containsValue in interface ByteValuesMappublic void forEachValue(ByteProcedure procedure)
forEachValue in interface ByteValuesMappublic void forEachKey(FloatProcedure procedure)
forEachKey in interface FloatByteMappublic void forEachKeyValue(FloatByteProcedure procedure)
forEachKeyValue in interface FloatByteMappublic LazyFloatIterable keysView()
keysView in interface FloatByteMappublic RichIterable<FloatBytePair> keyValuesView()
keyValuesView in interface FloatByteMappublic MutableByteFloatMap flipUniqueValues()
flipUniqueValues in interface FloatByteMapflipUniqueValues in interface MutableFloatByteMappublic MutableFloatByteMap select(FloatBytePredicate predicate)
select in interface FloatByteMapselect in interface MutableFloatByteMappublic MutableFloatByteMap reject(FloatBytePredicate predicate)
reject in interface FloatByteMapreject in interface MutableFloatByteMappublic MutableByteIterator byteIterator()
byteIterator in interface ByteIterablebyteIterator in interface MutableByteValuesMappublic void each(ByteProcedure procedure)
each in interface ByteIterablepublic int count(BytePredicate predicate)
count in interface ByteIterablepublic boolean anySatisfy(BytePredicate predicate)
anySatisfy in interface ByteIterablepublic boolean allSatisfy(BytePredicate predicate)
allSatisfy in interface ByteIterablepublic boolean noneSatisfy(BytePredicate predicate)
noneSatisfy in interface ByteIterablepublic MutableByteBag select(BytePredicate predicate)
select in interface ByteIterableselect in interface ByteValuesMapselect in interface MutableByteValuesMappublic MutableByteBag reject(BytePredicate predicate)
reject in interface ByteIterablereject in interface ByteValuesMapreject in interface MutableByteValuesMappublic <V> MutableBag<V> collect(ByteToObjectFunction<? extends V> function)
collect in interface ByteIterablecollect in interface ByteValuesMapcollect in interface MutableByteValuesMappublic byte detectIfNone(BytePredicate predicate, byte ifNone)
detectIfNone in interface ByteIterablepublic long sum()
sum in interface ByteIterablepublic byte max()
max in interface ByteIterablepublic byte maxIfEmpty(byte defaultValue)
maxIfEmpty in interface ByteIterablepublic byte min()
min in interface ByteIterablepublic byte minIfEmpty(byte defaultValue)
minIfEmpty in interface ByteIterablepublic double average()
average in interface ByteIterablepublic double median()
median in interface ByteIterablepublic byte addToValue(float key,
byte toBeAdded)
addToValue in interface MutableFloatByteMappublic byte[] toSortedArray()
toSortedArray in interface ByteIterablepublic MutableByteList toSortedList()
toSortedList in interface ByteIterablepublic byte[] toArray()
toArray in interface ByteIterablepublic byte[] toArray(byte[] target)
toArray in interface ByteIterablepublic boolean contains(byte value)
contains in interface ByteIterablepublic boolean containsAll(byte... source)
containsAll in interface ByteIterablepublic boolean containsAll(ByteIterable source)
containsAll in interface ByteIterablepublic MutableByteList toList()
toList in interface ByteIterablepublic MutableByteSet toSet()
toSet in interface ByteIterablepublic MutableByteBag toBag()
toBag in interface ByteIterablepublic LazyByteIterable asLazy()
asLazy in interface ByteIterablepublic MutableFloatByteMap withKeyValue(float key, byte value)
withKeyValue in interface MutableFloatByteMappublic MutableFloatByteMap withoutKey(float key)
withoutKey in interface MutableFloatByteMappublic MutableFloatByteMap withoutAllKeys(FloatIterable keys)
withoutAllKeys in interface MutableFloatByteMappublic MutableFloatByteMap asUnmodifiable()
asUnmodifiable in interface MutableFloatByteMappublic MutableFloatByteMap asSynchronized()
asSynchronized in interface MutableFloatByteMappublic ImmutableFloatByteMap toImmutable()
toImmutable in interface FloatByteMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableFloatSet keySet()
keySet in interface FloatByteMappublic MutableByteCollection values()
values in interface ByteValuesMappublic boolean equals(Object otherMap)
equals in interface FloatByteMapequals in class Objectpublic int hashCode()
hashCode in interface FloatByteMaphashCode in class Objectpublic String toString()
toString in interface FloatByteMaptoString 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,
ObjectByteToObjectFunction<? super T,? extends T> function)
injectInto in interface ByteIterablepublic RichIterable<ByteIterable> chunk(int size)
chunk in interface ByteIterableCopyright © 2004–2022. All rights reserved.