public final class UnmodifiableCharBooleanMap extends Object implements MutableCharBooleanMap, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(BooleanPredicate predicate) |
boolean |
anySatisfy(BooleanPredicate predicate) |
void |
appendString(Appendable appendable)
Prints a string representation of this collection onto the given
Appendable. |
void |
appendString(Appendable appendable,
String separator)
Prints a string representation of this collection onto the given
Appendable. |
void |
appendString(Appendable appendable,
String start,
String separator,
String end)
Prints a string representation of this collection onto the given
Appendable. |
LazyBooleanIterable |
asLazy() |
MutableCharBooleanMap |
asSynchronized() |
MutableCharBooleanMap |
asUnmodifiable() |
MutableBooleanIterator |
booleanIterator() |
void |
clear() |
<V> MutableCollection<V> |
collect(BooleanToObjectFunction<? extends V> function) |
boolean |
contains(boolean value) |
boolean |
containsAll(boolean... source) |
boolean |
containsAll(BooleanIterable source) |
boolean |
containsKey(char key) |
boolean |
containsValue(boolean value) |
int |
count(BooleanPredicate predicate) |
boolean |
detectIfNone(BooleanPredicate predicate,
boolean ifNone) |
void |
each(BooleanProcedure procedure) |
boolean |
equals(Object otherMap)
Follows the same general contract as
Map.equals(Object). |
void |
forEach(BooleanProcedure procedure) |
void |
forEachKey(CharProcedure procedure) |
void |
forEachKeyValue(CharBooleanProcedure procedure) |
void |
forEachValue(BooleanProcedure procedure) |
boolean |
get(char key) |
boolean |
getIfAbsent(char key,
boolean ifAbsent) |
boolean |
getIfAbsentPut(char key,
boolean value) |
boolean |
getIfAbsentPut(char key,
BooleanFunction0 function) |
<P> boolean |
getIfAbsentPutWith(char key,
BooleanFunction<? super P> function,
P parameter) |
boolean |
getIfAbsentPutWithKey(char key,
CharToBooleanFunction function) |
boolean |
getOrThrow(char key) |
int |
hashCode()
Follows the same general contract as
Map.hashCode(). |
<T> T |
injectInto(T injectedValue,
ObjectBooleanToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
MutableCharSet |
keySet() |
LazyCharIterable |
keysView() |
RichIterable<CharBooleanPair> |
keyValuesView() |
String |
makeString()
Returns a string representation of this collection by delegating to
PrimitiveIterable.makeString(String) and defaulting
the separator parameter to the characters ", " (comma and space). |
String |
makeString(String separator)
Returns a string representation of this collection by delegating to
PrimitiveIterable.makeString(String, String, String)
and defaulting the start and end parameters to "" (the empty String). |
String |
makeString(String start,
String separator,
String end)
Returns a string representation of this collection.
|
boolean |
noneSatisfy(BooleanPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
void |
put(char key,
boolean value) |
void |
putAll(CharBooleanMap map) |
MutableBooleanCollection |
reject(BooleanPredicate predicate) |
MutableCharBooleanMap |
reject(CharBooleanPredicate predicate) |
void |
remove(char key) |
void |
removeKey(char key) |
boolean |
removeKeyIfAbsent(char key,
boolean value) |
MutableBooleanCollection |
select(BooleanPredicate predicate) |
MutableCharBooleanMap |
select(CharBooleanPredicate predicate) |
int |
size()
Returns the number of items in this iterable.
|
boolean[] |
toArray() |
MutableBooleanBag |
toBag() |
ImmutableCharBooleanMap |
toImmutable() |
MutableBooleanList |
toList() |
MutableBooleanSet |
toSet() |
String |
toString()
Returns a string representation of this CharBooleanMap.
|
boolean |
updateValue(char key,
boolean initialValueIfAbsent,
BooleanToBooleanFunction function) |
MutableBooleanCollection |
values() |
MutableCharBooleanMap |
withKeyValue(char key,
boolean value) |
MutableCharBooleanMap |
withoutAllKeys(CharIterable keys) |
MutableCharBooleanMap |
withoutKey(char key) |
public void clear()
clear in interface MutableBooleanValuesMappublic void put(char key,
boolean value)
put in interface MutableCharBooleanMappublic void putAll(CharBooleanMap map)
putAll 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 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 forEach(BooleanProcedure procedure)
forEach in interface BooleanIterablepublic 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 MutableBooleanCollection select(BooleanPredicate predicate)
select in interface BooleanIterableselect in interface MutableBooleanValuesMappublic MutableBooleanCollection reject(BooleanPredicate predicate)
reject in interface BooleanIterablereject in interface MutableBooleanValuesMappublic boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)
detectIfNone in interface BooleanIterablepublic <V> MutableCollection<V> collect(BooleanToObjectFunction<? extends V> function)
collect in interface BooleanIterablecollect in interface MutableBooleanValuesMappublic boolean[] toArray()
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()
PrimitiveIterablesize in interface PrimitiveIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablepublic MutableCharSet keySet()
keySet in interface CharBooleanMappublic MutableBooleanCollection values()
values in interface BooleanValuesMappublic boolean equals(Object otherMap)
CharBooleanMapMap.equals(Object).equals in interface CharBooleanMapequals in class Objectpublic int hashCode()
CharBooleanMapMap.hashCode().hashCode in interface CharBooleanMaphashCode in class Objectpublic String toString()
CharBooleanMaptoString in interface CharBooleanMaptoString in interface PrimitiveIterabletoString in class Objectpublic String makeString()
PrimitiveIterablePrimitiveIterable.makeString(String) and defaulting
the separator parameter to the characters ", " (comma and space).makeString in interface PrimitiveIterablepublic String makeString(String separator)
PrimitiveIterablePrimitiveIterable.makeString(String, String, String)
and defaulting the start and end parameters to "" (the empty String).makeString in interface PrimitiveIterablepublic String makeString(String start, String separator, String end)
PrimitiveIterablemakeString in interface PrimitiveIterablepublic void appendString(Appendable appendable)
PrimitiveIterableAppendable. Prints the string returned
by PrimitiveIterable.makeString().appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
PrimitiveIterableAppendable. Prints the string returned
by PrimitiveIterable.makeString(String).appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
PrimitiveIterableAppendable. Prints the string returned
by PrimitiveIterable.makeString(String, String, String).appendString in interface PrimitiveIterablepublic <T> T injectInto(T injectedValue,
ObjectBooleanToObjectFunction<? super T,? extends T> function)
injectInto in interface BooleanIterableCopyright © 2004–2016. All rights reserved.