Class UnmodifiableObjectBooleanMap<K>
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableObjectBooleanMap<K>
- All Implemented Interfaces:
Serializable,BooleanIterable,MutableObjectBooleanMap<K>,ObjectBooleanMap<K>,PrimitiveIterable
public class UnmodifiableObjectBooleanMap<K>
extends Object
implements MutableObjectBooleanMap<K>, Serializable
This file was automatically generated from template file unmodifiableObjectPrimitiveMap.stg.
- Since:
- 3.2
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddToValue(K key, boolean toBeAdded) booleanallSatisfy(BooleanPredicate predicate) booleananySatisfy(BooleanPredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()chunk(int size) voidclear()<V1> MutableCollection<V1>collect(BooleanToObjectFunction<? extends V1> function) booleancontains(boolean value) booleancontainsAll(boolean... source) booleancontainsAll(BooleanIterable source) booleancontainsKey(Object key) booleancontainsValue(boolean value) intcount(BooleanPredicate predicate) booleandetectIfNone(BooleanPredicate predicate, boolean ifNone) voideach(BooleanProcedure procedure) booleanvoidforEachKey(Procedure<? super K> procedure) voidforEachKeyValue(ObjectBooleanProcedure<? super K> procedure) voidforEachValue(BooleanProcedure procedure) booleanbooleanbooleangetIfAbsent(Object key, boolean ifAbsent) booleangetIfAbsentPut(K key, boolean value) booleangetIfAbsentPut(K key, BooleanFunction0 function) <P> booleangetIfAbsentPutWith(K key, BooleanFunction<? super P> function, P parameter) booleangetIfAbsentPutWithKey(K key, BooleanFunction<? super K> function) booleangetOrThrow(Object key) inthashCode()<T> TinjectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T, ? extends T> function) booleanisEmpty()keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) booleannoneSatisfy(BooleanPredicate predicate) booleannotEmpty()voidvoidputAll(ObjectBooleanMap<? extends K> map) voidputPair(ObjectBooleanPair<K> keyValuePair) reject(BooleanPredicate predicate) reject(ObjectBooleanPredicate<? super K> predicate) voidvoidbooleanremoveKeyIfAbsent(K key, boolean value) select(BooleanPredicate predicate) select(ObjectBooleanPredicate<? super K> predicate) intsize()boolean[]toArray()boolean[]toArray(boolean[] target) toBag()toList()toSet()toString()booleanupdateValue(K key, boolean initialValueIfAbsent, BooleanToBooleanFunction function) voidupdateValues(ObjectBooleanToBooleanFunction<? super K> function) values()withKeyValue(K key, boolean value) withoutAllKeys(Iterable<? extends K> keys) withoutKey(K key) Methods inherited from interface org.eclipse.collections.api.BooleanIterable
collect, 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, selectMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableObjectBooleanMap
tap, withAllKeyValuesMethods inherited from interface org.eclipse.collections.api.map.primitive.ObjectBooleanMap
allSatisfyKeyValue, injectIntoKeyValue
-
Constructor Details
-
UnmodifiableObjectBooleanMap
-
-
Method Details
-
getAndPut
- Specified by:
getAndPutin interfaceMutableObjectBooleanMap<K>
-
clear
public void clear()- Specified by:
clearin interfaceMutableObjectBooleanMap<K>
-
put
- Specified by:
putin interfaceMutableObjectBooleanMap<K>
-
putPair
- Specified by:
putPairin interfaceMutableObjectBooleanMap<K>
-
putAll
- Specified by:
putAllin interfaceMutableObjectBooleanMap<K>
-
updateValues
- Specified by:
updateValuesin interfaceMutableObjectBooleanMap<K>
-
removeKey
- Specified by:
removeKeyin interfaceMutableObjectBooleanMap<K>
-
remove
- Specified by:
removein interfaceMutableObjectBooleanMap<K>
-
removeKeyIfAbsent
- Specified by:
removeKeyIfAbsentin interfaceMutableObjectBooleanMap<K>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableObjectBooleanMap<K>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableObjectBooleanMap<K>
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableObjectBooleanMap<K>
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableObjectBooleanMap<K>
-
updateValue
- Specified by:
updateValuein interfaceMutableObjectBooleanMap<K>
-
addToValue
-
get
- Specified by:
getin interfaceObjectBooleanMap<K>
-
getOrThrow
- Specified by:
getOrThrowin interfaceObjectBooleanMap<K>
-
getIfAbsent
- Specified by:
getIfAbsentin interfaceObjectBooleanMap<K>
-
containsKey
- Specified by:
containsKeyin interfaceObjectBooleanMap<K>
-
containsValue
public boolean containsValue(boolean value) - Specified by:
containsValuein interfaceObjectBooleanMap<K>
-
forEachValue
- Specified by:
forEachValuein interfaceObjectBooleanMap<K>
-
forEachKey
- Specified by:
forEachKeyin interfaceObjectBooleanMap<K>
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceObjectBooleanMap<K>
-
select
- Specified by:
selectin interfaceMutableObjectBooleanMap<K>- Specified by:
selectin interfaceObjectBooleanMap<K>
-
reject
- Specified by:
rejectin interfaceMutableObjectBooleanMap<K>- Specified by:
rejectin interfaceObjectBooleanMap<K>
-
booleanIterator
- Specified by:
booleanIteratorin interfaceBooleanIterable- Specified by:
booleanIteratorin interfaceMutableObjectBooleanMap<K>
-
each
- Specified by:
eachin interfaceBooleanIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceBooleanIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceBooleanIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceBooleanIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceBooleanIterable
-
select
- Specified by:
selectin interfaceBooleanIterable- Specified by:
selectin interfaceMutableObjectBooleanMap<K>
-
reject
- Specified by:
rejectin interfaceBooleanIterable- Specified by:
rejectin interfaceMutableObjectBooleanMap<K>
-
detectIfNone
- Specified by:
detectIfNonein interfaceBooleanIterable
-
collect
- Specified by:
collectin interfaceBooleanIterable- Specified by:
collectin interfaceMutableObjectBooleanMap<K>
-
toArray
public boolean[] toArray()- Specified by:
toArrayin interfaceBooleanIterable
-
toArray
public boolean[] toArray(boolean[] target) - Specified by:
toArrayin interfaceBooleanIterable
-
contains
public boolean contains(boolean value) - Specified by:
containsin interfaceBooleanIterable
-
containsAll
public boolean containsAll(boolean... source) - Specified by:
containsAllin interfaceBooleanIterable
-
containsAll
- Specified by:
containsAllin interfaceBooleanIterable
-
toList
- Specified by:
toListin interfaceBooleanIterable
-
toSet
- Specified by:
toSetin interfaceBooleanIterable
-
toBag
- Specified by:
toBagin interfaceBooleanIterable
-
asLazy
- Specified by:
asLazyin interfaceBooleanIterable
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableObjectBooleanMap<K>
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableObjectBooleanMap<K>
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableObjectBooleanMap<K>
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableObjectBooleanMap<K>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableObjectBooleanMap<K>
-
toImmutable
- Specified by:
toImmutablein interfaceObjectBooleanMap<K>
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable
-
keySet
- Specified by:
keySetin interfaceObjectBooleanMap<K>
-
values
- Specified by:
valuesin interfaceObjectBooleanMap<K>
-
keysView
- Specified by:
keysViewin interfaceObjectBooleanMap<K>
-
keyValuesView
- Specified by:
keyValuesViewin interfaceObjectBooleanMap<K>
-
equals
-
hashCode
public int hashCode() -
toString
- Specified by:
toStringin interfaceObjectBooleanMap<K>- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceBooleanIterable
-
chunk
- Specified by:
chunkin interfaceBooleanIterable
-