public class SynchronizedIntCharMap extends Object implements MutableIntCharMap, Serializable
MutableIntCharMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
MutableCharIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitivePrimitiveMap.stg.
MutableIntCharMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Constructor and Description |
|---|
SynchronizedIntCharMap(MutableIntCharMap map) |
SynchronizedIntCharMap(MutableIntCharMap 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 SynchronizedIntCharMap(MutableIntCharMap map)
public SynchronizedIntCharMap(MutableIntCharMap map, Object newLock)
public void clear()
clear in interface MutableCharValuesMappublic void put(int key,
char value)
put in interface MutableIntCharMappublic void putPair(IntCharPair keyValuePair)
putPair in interface MutableIntCharMappublic void putAll(IntCharMap map)
putAll in interface MutableIntCharMappublic void updateValues(IntCharToCharFunction function)
updateValues in interface MutableIntCharMappublic void removeKey(int key)
removeKey in interface MutableIntCharMappublic void remove(int key)
remove in interface MutableIntCharMappublic char removeKeyIfAbsent(int key,
char value)
removeKeyIfAbsent in interface MutableIntCharMappublic char getIfAbsentPut(int key,
char value)
getIfAbsentPut in interface MutableIntCharMappublic char getAndPut(int key,
char putValue,
char defaultValue)
getAndPut in interface MutableIntCharMappublic char getIfAbsentPut(int key,
CharFunction0 function)
getIfAbsentPut in interface MutableIntCharMappublic char getIfAbsentPutWithKey(int key,
IntToCharFunction function)
getIfAbsentPutWithKey in interface MutableIntCharMappublic <P> char getIfAbsentPutWith(int key,
CharFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableIntCharMappublic char updateValue(int key,
char initialValueIfAbsent,
CharToCharFunction function)
updateValue in interface MutableIntCharMappublic char get(int key)
get in interface IntCharMappublic char getIfAbsent(int key,
char ifAbsent)
getIfAbsent in interface IntCharMappublic char getOrThrow(int key)
getOrThrow in interface IntCharMappublic boolean containsKey(int key)
containsKey in interface IntCharMappublic boolean containsValue(char value)
containsValue in interface CharValuesMappublic void forEachValue(CharProcedure procedure)
forEachValue in interface CharValuesMappublic void forEachKey(IntProcedure procedure)
forEachKey in interface IntCharMappublic void forEachKeyValue(IntCharProcedure procedure)
forEachKeyValue in interface IntCharMappublic LazyIntIterable keysView()
keysView in interface IntCharMappublic RichIterable<IntCharPair> keyValuesView()
keyValuesView in interface IntCharMappublic MutableCharIntMap flipUniqueValues()
flipUniqueValues in interface IntCharMapflipUniqueValues in interface MutableIntCharMappublic MutableIntCharMap select(IntCharPredicate predicate)
select in interface IntCharMapselect in interface MutableIntCharMappublic MutableIntCharMap reject(IntCharPredicate predicate)
reject in interface IntCharMapreject in interface MutableIntCharMappublic MutableCharIterator charIterator()
charIterator in interface CharIterablecharIterator in interface MutableCharValuesMappublic void each(CharProcedure procedure)
each in interface CharIterablepublic int count(CharPredicate predicate)
count in interface CharIterablepublic boolean anySatisfy(CharPredicate predicate)
anySatisfy in interface CharIterablepublic boolean allSatisfy(CharPredicate predicate)
allSatisfy in interface CharIterablepublic boolean noneSatisfy(CharPredicate predicate)
noneSatisfy in interface CharIterablepublic MutableCharBag select(CharPredicate predicate)
select in interface CharIterableselect in interface CharValuesMapselect in interface MutableCharValuesMappublic MutableCharBag reject(CharPredicate predicate)
reject in interface CharIterablereject in interface CharValuesMapreject in interface MutableCharValuesMappublic <V> MutableBag<V> collect(CharToObjectFunction<? extends V> function)
collect in interface CharIterablecollect in interface CharValuesMapcollect in interface MutableCharValuesMappublic char detectIfNone(CharPredicate predicate, char ifNone)
detectIfNone in interface CharIterablepublic long sum()
sum in interface CharIterablepublic char max()
max in interface CharIterablepublic char maxIfEmpty(char defaultValue)
maxIfEmpty in interface CharIterablepublic char min()
min in interface CharIterablepublic char minIfEmpty(char defaultValue)
minIfEmpty in interface CharIterablepublic double average()
average in interface CharIterablepublic double median()
median in interface CharIterablepublic char addToValue(int key,
char toBeAdded)
addToValue in interface MutableIntCharMappublic char[] toSortedArray()
toSortedArray in interface CharIterablepublic MutableCharList toSortedList()
toSortedList in interface CharIterablepublic char[] toArray()
toArray in interface CharIterablepublic char[] toArray(char[] target)
toArray in interface CharIterablepublic boolean contains(char value)
contains in interface CharIterablepublic boolean containsAll(char... source)
containsAll in interface CharIterablepublic boolean containsAll(CharIterable source)
containsAll in interface CharIterablepublic MutableCharList toList()
toList in interface CharIterablepublic MutableCharSet toSet()
toSet in interface CharIterablepublic MutableCharBag toBag()
toBag in interface CharIterablepublic LazyCharIterable asLazy()
asLazy in interface CharIterablepublic MutableIntCharMap withKeyValue(int key, char value)
withKeyValue in interface MutableIntCharMappublic MutableIntCharMap withoutKey(int key)
withoutKey in interface MutableIntCharMappublic MutableIntCharMap withoutAllKeys(IntIterable keys)
withoutAllKeys in interface MutableIntCharMappublic MutableIntCharMap asUnmodifiable()
asUnmodifiable in interface MutableIntCharMappublic MutableIntCharMap asSynchronized()
asSynchronized in interface MutableIntCharMappublic ImmutableIntCharMap toImmutable()
toImmutable in interface IntCharMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableIntSet keySet()
keySet in interface IntCharMappublic MutableCharCollection values()
values in interface CharValuesMappublic boolean equals(Object otherMap)
equals in interface IntCharMapequals in class Objectpublic int hashCode()
hashCode in interface IntCharMaphashCode in class Objectpublic String toString()
toString in interface IntCharMaptoString 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,
ObjectCharToObjectFunction<? super T,? extends T> function)
injectInto in interface CharIterablepublic RichIterable<CharIterable> chunk(int size)
chunk in interface CharIterableCopyright © 2004–2022. All rights reserved.