public class SynchronizedIntByteMap extends Object implements MutableIntByteMap, Serializable
MutableIntByteMap. 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.
MutableIntByteMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Constructor and Description |
|---|
SynchronizedIntByteMap(MutableIntByteMap map) |
SynchronizedIntByteMap(MutableIntByteMap 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 SynchronizedIntByteMap(MutableIntByteMap map)
public SynchronizedIntByteMap(MutableIntByteMap map, Object newLock)
public void clear()
clear in interface MutableByteValuesMappublic void put(int key,
byte value)
put in interface MutableIntByteMappublic void putPair(IntBytePair keyValuePair)
putPair in interface MutableIntByteMappublic void putAll(IntByteMap map)
putAll in interface MutableIntByteMappublic void updateValues(IntByteToByteFunction function)
updateValues in interface MutableIntByteMappublic void removeKey(int key)
removeKey in interface MutableIntByteMappublic void remove(int key)
remove in interface MutableIntByteMappublic byte removeKeyIfAbsent(int key,
byte value)
removeKeyIfAbsent in interface MutableIntByteMappublic byte getIfAbsentPut(int key,
byte value)
getIfAbsentPut in interface MutableIntByteMappublic byte getAndPut(int key,
byte putValue,
byte defaultValue)
getAndPut in interface MutableIntByteMappublic byte getIfAbsentPut(int key,
ByteFunction0 function)
getIfAbsentPut in interface MutableIntByteMappublic byte getIfAbsentPutWithKey(int key,
IntToByteFunction function)
getIfAbsentPutWithKey in interface MutableIntByteMappublic <P> byte getIfAbsentPutWith(int key,
ByteFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableIntByteMappublic byte updateValue(int key,
byte initialValueIfAbsent,
ByteToByteFunction function)
updateValue in interface MutableIntByteMappublic byte get(int key)
get in interface IntByteMappublic byte getIfAbsent(int key,
byte ifAbsent)
getIfAbsent in interface IntByteMappublic byte getOrThrow(int key)
getOrThrow in interface IntByteMappublic boolean containsKey(int key)
containsKey in interface IntByteMappublic boolean containsValue(byte value)
containsValue in interface ByteValuesMappublic void forEachValue(ByteProcedure procedure)
forEachValue in interface ByteValuesMappublic void forEachKey(IntProcedure procedure)
forEachKey in interface IntByteMappublic void forEachKeyValue(IntByteProcedure procedure)
forEachKeyValue in interface IntByteMappublic LazyIntIterable keysView()
keysView in interface IntByteMappublic RichIterable<IntBytePair> keyValuesView()
keyValuesView in interface IntByteMappublic MutableByteIntMap flipUniqueValues()
flipUniqueValues in interface IntByteMapflipUniqueValues in interface MutableIntByteMappublic MutableIntByteMap select(IntBytePredicate predicate)
select in interface IntByteMapselect in interface MutableIntByteMappublic MutableIntByteMap reject(IntBytePredicate predicate)
reject in interface IntByteMapreject in interface MutableIntByteMappublic 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(int key,
byte toBeAdded)
addToValue in interface MutableIntByteMappublic 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 MutableIntByteMap withKeyValue(int key, byte value)
withKeyValue in interface MutableIntByteMappublic MutableIntByteMap withoutKey(int key)
withoutKey in interface MutableIntByteMappublic MutableIntByteMap withoutAllKeys(IntIterable keys)
withoutAllKeys in interface MutableIntByteMappublic MutableIntByteMap asUnmodifiable()
asUnmodifiable in interface MutableIntByteMappublic MutableIntByteMap asSynchronized()
asSynchronized in interface MutableIntByteMappublic ImmutableIntByteMap toImmutable()
toImmutable in interface IntByteMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableIntSet keySet()
keySet in interface IntByteMappublic MutableByteCollection values()
values in interface ByteValuesMappublic boolean equals(Object otherMap)
equals in interface IntByteMapequals in class Objectpublic int hashCode()
hashCode in interface IntByteMaphashCode in class Objectpublic String toString()
toString in interface IntByteMaptoString 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.