public class SynchronizedCharCharMap extends Object implements MutableCharCharMap, Serializable
MutableCharCharMap. 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.
MutableCharCharMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Constructor and Description |
|---|
SynchronizedCharCharMap(MutableCharCharMap map) |
SynchronizedCharCharMap(MutableCharCharMap 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 SynchronizedCharCharMap(MutableCharCharMap map)
public SynchronizedCharCharMap(MutableCharCharMap map, Object newLock)
public void clear()
clear in interface MutableCharValuesMappublic void put(char key,
char value)
put in interface MutableCharCharMappublic void putPair(CharCharPair keyValuePair)
putPair in interface MutableCharCharMappublic void putAll(CharCharMap map)
putAll in interface MutableCharCharMappublic void updateValues(CharCharToCharFunction function)
updateValues in interface MutableCharCharMappublic void removeKey(char key)
removeKey in interface MutableCharCharMappublic void remove(char key)
remove in interface MutableCharCharMappublic char removeKeyIfAbsent(char key,
char value)
removeKeyIfAbsent in interface MutableCharCharMappublic char getIfAbsentPut(char key,
char value)
getIfAbsentPut in interface MutableCharCharMappublic char getAndPut(char key,
char putValue,
char defaultValue)
getAndPut in interface MutableCharCharMappublic char getIfAbsentPut(char key,
CharFunction0 function)
getIfAbsentPut in interface MutableCharCharMappublic char getIfAbsentPutWithKey(char key,
CharToCharFunction function)
getIfAbsentPutWithKey in interface MutableCharCharMappublic <P> char getIfAbsentPutWith(char key,
CharFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableCharCharMappublic char updateValue(char key,
char initialValueIfAbsent,
CharToCharFunction function)
updateValue in interface MutableCharCharMappublic char get(char key)
get in interface CharCharMappublic char getIfAbsent(char key,
char ifAbsent)
getIfAbsent in interface CharCharMappublic char getOrThrow(char key)
getOrThrow in interface CharCharMappublic boolean containsKey(char key)
containsKey in interface CharCharMappublic boolean containsValue(char value)
containsValue in interface CharValuesMappublic void forEachValue(CharProcedure procedure)
forEachValue in interface CharValuesMappublic void forEachKey(CharProcedure procedure)
forEachKey in interface CharCharMappublic void forEachKeyValue(CharCharProcedure procedure)
forEachKeyValue in interface CharCharMappublic LazyCharIterable keysView()
keysView in interface CharCharMappublic RichIterable<CharCharPair> keyValuesView()
keyValuesView in interface CharCharMappublic MutableCharCharMap flipUniqueValues()
flipUniqueValues in interface CharCharMapflipUniqueValues in interface MutableCharCharMappublic MutableCharCharMap select(CharCharPredicate predicate)
select in interface CharCharMapselect in interface MutableCharCharMappublic MutableCharCharMap reject(CharCharPredicate predicate)
reject in interface CharCharMapreject in interface MutableCharCharMappublic 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(char key,
char toBeAdded)
addToValue in interface MutableCharCharMappublic 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 MutableCharCharMap withKeyValue(char key, char value)
withKeyValue in interface MutableCharCharMappublic MutableCharCharMap withoutKey(char key)
withoutKey in interface MutableCharCharMappublic MutableCharCharMap withoutAllKeys(CharIterable keys)
withoutAllKeys in interface MutableCharCharMappublic MutableCharCharMap asUnmodifiable()
asUnmodifiable in interface MutableCharCharMappublic MutableCharCharMap asSynchronized()
asSynchronized in interface MutableCharCharMappublic ImmutableCharCharMap toImmutable()
toImmutable in interface CharCharMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableCharSet keySet()
keySet in interface CharCharMappublic MutableCharCollection values()
values in interface CharValuesMappublic boolean equals(Object otherMap)
equals in interface CharCharMapequals in class Objectpublic int hashCode()
hashCode in interface CharCharMaphashCode in class Objectpublic String toString()
toString in interface CharCharMaptoString 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.