public final class SynchronizedIntBooleanMap extends Object implements MutableIntBooleanMap, Serializable
MutableIntBooleanMap. 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.
MutableIntBooleanMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| 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() |
MutableIntBooleanMap |
asSynchronized() |
MutableIntBooleanMap |
asUnmodifiable() |
MutableBooleanIterator |
booleanIterator()
This must be manually synchronized by the developer.
|
void |
clear() |
<V> MutableBag<V> |
collect(BooleanToObjectFunction<? extends V> function) |
boolean |
contains(boolean value) |
boolean |
containsAll(boolean... source) |
boolean |
containsAll(BooleanIterable source) |
boolean |
containsKey(int 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(IntProcedure procedure) |
void |
forEachKeyValue(IntBooleanProcedure procedure) |
void |
forEachValue(BooleanProcedure procedure) |
boolean |
get(int key) |
boolean |
getIfAbsent(int key,
boolean ifAbsent) |
boolean |
getIfAbsentPut(int key,
boolean value) |
boolean |
getIfAbsentPut(int key,
BooleanFunction0 function) |
<P> boolean |
getIfAbsentPutWith(int key,
BooleanFunction<? super P> function,
P parameter) |
boolean |
getIfAbsentPutWithKey(int key,
IntToBooleanFunction function) |
boolean |
getOrThrow(int 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.
|
MutableIntSet |
keySet() |
LazyIntIterable |
keysView() |
RichIterable<IntBooleanPair> |
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(int key,
boolean value) |
void |
putAll(IntBooleanMap map) |
MutableBooleanBag |
reject(BooleanPredicate predicate) |
MutableIntBooleanMap |
reject(IntBooleanPredicate predicate) |
void |
remove(int key) |
void |
removeKey(int key) |
boolean |
removeKeyIfAbsent(int key,
boolean value) |
MutableBooleanBag |
select(BooleanPredicate predicate) |
MutableIntBooleanMap |
select(IntBooleanPredicate predicate) |
int |
size()
Returns the number of items in this iterable.
|
boolean[] |
toArray() |
MutableBooleanBag |
toBag() |
ImmutableIntBooleanMap |
toImmutable() |
MutableBooleanList |
toList() |
MutableBooleanSet |
toSet() |
String |
toString()
Returns a string representation of this IntBooleanMap.
|
boolean |
updateValue(int key,
boolean initialValueIfAbsent,
BooleanToBooleanFunction function) |
MutableBooleanCollection |
values() |
MutableIntBooleanMap |
withKeyValue(int key,
boolean value) |
MutableIntBooleanMap |
withoutAllKeys(IntIterable keys) |
MutableIntBooleanMap |
withoutKey(int key) |
public void clear()
clear in interface MutableBooleanValuesMappublic void put(int key,
boolean value)
put in interface MutableIntBooleanMappublic void putAll(IntBooleanMap map)
putAll in interface MutableIntBooleanMappublic void removeKey(int key)
removeKey in interface MutableIntBooleanMappublic void remove(int key)
remove in interface MutableIntBooleanMappublic boolean removeKeyIfAbsent(int key,
boolean value)
removeKeyIfAbsent in interface MutableIntBooleanMappublic boolean getIfAbsentPut(int key,
boolean value)
getIfAbsentPut in interface MutableIntBooleanMappublic boolean getIfAbsentPut(int key,
BooleanFunction0 function)
getIfAbsentPut in interface MutableIntBooleanMappublic boolean getIfAbsentPutWithKey(int key,
IntToBooleanFunction function)
getIfAbsentPutWithKey in interface MutableIntBooleanMappublic <P> boolean getIfAbsentPutWith(int key,
BooleanFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableIntBooleanMappublic boolean updateValue(int key,
boolean initialValueIfAbsent,
BooleanToBooleanFunction function)
updateValue in interface MutableIntBooleanMappublic boolean get(int key)
get in interface IntBooleanMappublic boolean getIfAbsent(int key,
boolean ifAbsent)
getIfAbsent in interface IntBooleanMappublic boolean getOrThrow(int key)
getOrThrow in interface IntBooleanMappublic boolean containsKey(int key)
containsKey in interface IntBooleanMappublic boolean containsValue(boolean value)
containsValue in interface BooleanValuesMappublic void forEachValue(BooleanProcedure procedure)
forEachValue in interface BooleanValuesMappublic void forEachKey(IntProcedure procedure)
forEachKey in interface IntBooleanMappublic void forEachKeyValue(IntBooleanProcedure procedure)
forEachKeyValue in interface IntBooleanMappublic LazyIntIterable keysView()
keysView in interface IntBooleanMappublic RichIterable<IntBooleanPair> keyValuesView()
keyValuesView in interface IntBooleanMappublic MutableIntBooleanMap select(IntBooleanPredicate predicate)
select in interface IntBooleanMapselect in interface MutableIntBooleanMappublic MutableIntBooleanMap reject(IntBooleanPredicate predicate)
reject in interface IntBooleanMapreject in interface MutableIntBooleanMappublic 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 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 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 MutableIntBooleanMap withKeyValue(int key, boolean value)
withKeyValue in interface MutableIntBooleanMappublic MutableIntBooleanMap withoutKey(int key)
withoutKey in interface MutableIntBooleanMappublic MutableIntBooleanMap withoutAllKeys(IntIterable keys)
withoutAllKeys in interface MutableIntBooleanMappublic MutableIntBooleanMap asUnmodifiable()
asUnmodifiable in interface MutableIntBooleanMappublic MutableIntBooleanMap asSynchronized()
asSynchronized in interface MutableIntBooleanMappublic ImmutableIntBooleanMap toImmutable()
toImmutable in interface IntBooleanMappublic int size()
PrimitiveIterablesize in interface PrimitiveIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablepublic MutableIntSet keySet()
keySet in interface IntBooleanMappublic MutableBooleanCollection values()
values in interface BooleanValuesMappublic boolean equals(Object otherMap)
IntBooleanMapMap.equals(Object).equals in interface IntBooleanMapequals in class Objectpublic int hashCode()
IntBooleanMapMap.hashCode().hashCode in interface IntBooleanMaphashCode in class Objectpublic String toString()
IntBooleanMaptoString in interface IntBooleanMaptoString 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.