public class SynchronizedCharBooleanMap extends Object implements MutableCharBooleanMap, Serializable
MutableCharBooleanMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
MutableBooleanIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitivePrimitiveMap.stg.
MutableCharBooleanMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Constructor and Description |
|---|
SynchronizedCharBooleanMap(MutableCharBooleanMap map) |
SynchronizedCharBooleanMap(MutableCharBooleanMap map,
Object newLock) |
withAllKeyValuesinjectIntoKeyValuetapcollect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, reduce, reduceIfEmpty, reject, selectpublic SynchronizedCharBooleanMap(MutableCharBooleanMap map)
public SynchronizedCharBooleanMap(MutableCharBooleanMap map, Object newLock)
public void clear()
clear in interface MutableBooleanValuesMappublic void put(char key,
boolean value)
put in interface MutableCharBooleanMappublic void putPair(CharBooleanPair keyValuePair)
putPair in interface MutableCharBooleanMappublic void putAll(CharBooleanMap map)
putAll in interface MutableCharBooleanMappublic void updateValues(CharBooleanToBooleanFunction function)
updateValues in interface MutableCharBooleanMappublic void removeKey(char key)
removeKey in interface MutableCharBooleanMappublic void remove(char key)
remove in interface MutableCharBooleanMappublic boolean removeKeyIfAbsent(char key,
boolean value)
removeKeyIfAbsent in interface MutableCharBooleanMappublic boolean getIfAbsentPut(char key,
boolean value)
getIfAbsentPut in interface MutableCharBooleanMappublic boolean getAndPut(char key,
boolean putValue,
boolean defaultValue)
getAndPut in interface MutableCharBooleanMappublic boolean getIfAbsentPut(char key,
BooleanFunction0 function)
getIfAbsentPut in interface MutableCharBooleanMappublic boolean getIfAbsentPutWithKey(char key,
CharToBooleanFunction function)
getIfAbsentPutWithKey in interface MutableCharBooleanMappublic <P> boolean getIfAbsentPutWith(char key,
BooleanFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableCharBooleanMappublic boolean updateValue(char key,
boolean initialValueIfAbsent,
BooleanToBooleanFunction function)
updateValue in interface MutableCharBooleanMappublic boolean get(char key)
get in interface CharBooleanMappublic boolean getIfAbsent(char key,
boolean ifAbsent)
getIfAbsent in interface CharBooleanMappublic boolean getOrThrow(char key)
getOrThrow in interface CharBooleanMappublic boolean containsKey(char key)
containsKey in interface CharBooleanMappublic boolean containsValue(boolean value)
containsValue in interface BooleanValuesMappublic void forEachValue(BooleanProcedure procedure)
forEachValue in interface BooleanValuesMappublic void forEachKey(CharProcedure procedure)
forEachKey in interface CharBooleanMappublic void forEachKeyValue(CharBooleanProcedure procedure)
forEachKeyValue in interface CharBooleanMappublic LazyCharIterable keysView()
keysView in interface CharBooleanMappublic RichIterable<CharBooleanPair> keyValuesView()
keyValuesView in interface CharBooleanMappublic MutableCharBooleanMap select(CharBooleanPredicate predicate)
select in interface CharBooleanMapselect in interface MutableCharBooleanMappublic MutableCharBooleanMap reject(CharBooleanPredicate predicate)
reject in interface CharBooleanMapreject in interface MutableCharBooleanMappublic MutableBooleanIterator booleanIterator()
booleanIterator in interface BooleanIterablebooleanIterator in interface MutableBooleanValuesMappublic void each(BooleanProcedure procedure)
each in interface BooleanIterablepublic int count(BooleanPredicate predicate)
count in interface BooleanIterablepublic boolean anySatisfy(BooleanPredicate predicate)
anySatisfy in interface BooleanIterablepublic boolean allSatisfy(BooleanPredicate predicate)
allSatisfy in interface BooleanIterablepublic boolean noneSatisfy(BooleanPredicate predicate)
noneSatisfy in interface BooleanIterablepublic MutableBooleanBag select(BooleanPredicate predicate)
select in interface BooleanIterableselect in interface BooleanValuesMapselect in interface MutableBooleanValuesMappublic MutableBooleanBag reject(BooleanPredicate predicate)
reject in interface BooleanIterablereject in interface BooleanValuesMapreject in interface MutableBooleanValuesMappublic <V> MutableBag<V> collect(BooleanToObjectFunction<? extends V> function)
collect in interface BooleanIterablecollect in interface BooleanValuesMapcollect in interface MutableBooleanValuesMappublic boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)
detectIfNone in interface BooleanIterablepublic boolean[] toArray()
toArray in interface BooleanIterablepublic boolean[] toArray(boolean[] target)
toArray in interface BooleanIterablepublic boolean contains(boolean value)
contains in interface BooleanIterablepublic boolean containsAll(boolean... source)
containsAll in interface BooleanIterablepublic boolean containsAll(BooleanIterable source)
containsAll in interface BooleanIterablepublic MutableBooleanList toList()
toList in interface BooleanIterablepublic MutableBooleanSet toSet()
toSet in interface BooleanIterablepublic MutableBooleanBag toBag()
toBag in interface BooleanIterablepublic LazyBooleanIterable asLazy()
asLazy in interface BooleanIterablepublic MutableCharBooleanMap withKeyValue(char key, boolean value)
withKeyValue in interface MutableCharBooleanMappublic MutableCharBooleanMap withoutKey(char key)
withoutKey in interface MutableCharBooleanMappublic MutableCharBooleanMap withoutAllKeys(CharIterable keys)
withoutAllKeys in interface MutableCharBooleanMappublic MutableCharBooleanMap asUnmodifiable()
asUnmodifiable in interface MutableCharBooleanMappublic MutableCharBooleanMap asSynchronized()
asSynchronized in interface MutableCharBooleanMappublic ImmutableCharBooleanMap toImmutable()
toImmutable in interface CharBooleanMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableCharSet keySet()
keySet in interface CharBooleanMappublic MutableBooleanCollection values()
values in interface BooleanValuesMappublic boolean equals(Object otherMap)
equals in interface CharBooleanMapequals in class Objectpublic int hashCode()
hashCode in interface CharBooleanMaphashCode in class Objectpublic String toString()
toString in interface CharBooleanMaptoString 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,
ObjectBooleanToObjectFunction<? super T,? extends T> function)
injectInto in interface BooleanIterablepublic RichIterable<BooleanIterable> chunk(int size)
chunk in interface BooleanIterableCopyright © 2004–2022. All rights reserved.