public class UnmodifiableIntBooleanMap extends Object implements MutableIntBooleanMap, Serializable
| Constructor and Description |
|---|
UnmodifiableIntBooleanMap(MutableIntBooleanMap map) |
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 UnmodifiableIntBooleanMap(MutableIntBooleanMap map)
public void clear()
clear in interface MutableBooleanValuesMappublic void put(int key,
boolean value)
put in interface MutableIntBooleanMappublic void putPair(IntBooleanPair keyValuePair)
putPair in interface MutableIntBooleanMappublic void putAll(IntBooleanMap map)
putAll in interface MutableIntBooleanMappublic void updateValues(IntBooleanToBooleanFunction function)
updateValues 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 getAndPut(int key,
boolean putValue,
boolean defaultValue)
getAndPut 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 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 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()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableIntSet keySet()
keySet in interface IntBooleanMappublic MutableBooleanCollection values()
values in interface BooleanValuesMappublic boolean equals(Object otherMap)
equals in interface IntBooleanMapequals in class Objectpublic int hashCode()
hashCode in interface IntBooleanMaphashCode in class Objectpublic String toString()
toString in interface IntBooleanMaptoString 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.