Class UnmodifiableDoubleBooleanMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableDoubleBooleanMap
- All Implemented Interfaces:
Serializable,BooleanIterable,BooleanValuesMap,DoubleBooleanMap,MutableBooleanValuesMap,MutableDoubleBooleanMap,PrimitiveIterable
public class UnmodifiableDoubleBooleanMap
extends Object
implements MutableDoubleBooleanMap, Serializable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(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()<V> MutableBag<V>collect(BooleanToObjectFunction<? extends V> function) booleancontains(boolean value) booleancontainsAll(boolean... source) booleancontainsAll(BooleanIterable source) booleancontainsKey(double key) booleancontainsValue(boolean value) intcount(BooleanPredicate predicate) booleandetectIfNone(BooleanPredicate predicate, boolean ifNone) voideach(BooleanProcedure procedure) booleanvoidforEachKey(DoubleProcedure procedure) voidforEachKeyValue(DoubleBooleanProcedure procedure) voidforEachValue(BooleanProcedure procedure) booleanget(double key) booleangetAndPut(double key, boolean putValue, boolean defaultValue) booleangetIfAbsent(double key, boolean ifAbsent) booleangetIfAbsentPut(double key, boolean value) booleangetIfAbsentPut(double key, BooleanFunction0 function) <P> booleangetIfAbsentPutWith(double key, BooleanFunction<? super P> function, P parameter) booleangetIfAbsentPutWithKey(double key, DoubleToBooleanFunction function) booleangetOrThrow(double 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()voidput(double key, boolean value) voidputAll(DoubleBooleanMap map) voidputPair(DoubleBooleanPair keyValuePair) reject(BooleanPredicate predicate) reject(DoubleBooleanPredicate predicate) voidremove(double key) voidremoveKey(double key) booleanremoveKeyIfAbsent(double key, boolean value) select(BooleanPredicate predicate) select(DoubleBooleanPredicate predicate) intsize()boolean[]toArray()boolean[]toArray(boolean[] target) toBag()toList()toSet()toString()booleanupdateValue(double key, boolean initialValueIfAbsent, BooleanToBooleanFunction function) voidupdateValues(DoubleBooleanToBooleanFunction function) values()withKeyValue(double key, boolean value) withoutAllKeys(DoubleIterable keys) withoutKey(double 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.BooleanValuesMap
tapMethods inherited from interface org.eclipse.collections.api.map.primitive.DoubleBooleanMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMap
withAllKeyValues
-
Constructor Details
-
UnmodifiableDoubleBooleanMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableBooleanValuesMap
-
put
public void put(double key, boolean value) - Specified by:
putin interfaceMutableDoubleBooleanMap
-
putPair
- Specified by:
putPairin interfaceMutableDoubleBooleanMap
-
putAll
- Specified by:
putAllin interfaceMutableDoubleBooleanMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableDoubleBooleanMap
-
removeKey
public void removeKey(double key) - Specified by:
removeKeyin interfaceMutableDoubleBooleanMap
-
remove
public void remove(double key) - Specified by:
removein interfaceMutableDoubleBooleanMap
-
removeKeyIfAbsent
public boolean removeKeyIfAbsent(double key, boolean value) - Specified by:
removeKeyIfAbsentin interfaceMutableDoubleBooleanMap
-
getIfAbsentPut
public boolean getIfAbsentPut(double key, boolean value) - Specified by:
getIfAbsentPutin interfaceMutableDoubleBooleanMap
-
getAndPut
public boolean getAndPut(double key, boolean putValue, boolean defaultValue) - Specified by:
getAndPutin interfaceMutableDoubleBooleanMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableDoubleBooleanMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableDoubleBooleanMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableDoubleBooleanMap
-
updateValue
public boolean updateValue(double key, boolean initialValueIfAbsent, BooleanToBooleanFunction function) - Specified by:
updateValuein interfaceMutableDoubleBooleanMap
-
get
public boolean get(double key) - Specified by:
getin interfaceDoubleBooleanMap
-
getIfAbsent
public boolean getIfAbsent(double key, boolean ifAbsent) - Specified by:
getIfAbsentin interfaceDoubleBooleanMap
-
getOrThrow
public boolean getOrThrow(double key) - Specified by:
getOrThrowin interfaceDoubleBooleanMap
-
containsKey
public boolean containsKey(double key) - Specified by:
containsKeyin interfaceDoubleBooleanMap
-
containsValue
public boolean containsValue(boolean value) - Specified by:
containsValuein interfaceBooleanValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceBooleanValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceDoubleBooleanMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceDoubleBooleanMap
-
keysView
- Specified by:
keysViewin interfaceDoubleBooleanMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceDoubleBooleanMap
-
select
- Specified by:
selectin interfaceDoubleBooleanMap- Specified by:
selectin interfaceMutableDoubleBooleanMap
-
reject
- Specified by:
rejectin interfaceDoubleBooleanMap- Specified by:
rejectin interfaceMutableDoubleBooleanMap
-
booleanIterator
- Specified by:
booleanIteratorin interfaceBooleanIterable- Specified by:
booleanIteratorin interfaceMutableBooleanValuesMap
-
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 interfaceBooleanValuesMap- Specified by:
selectin interfaceMutableBooleanValuesMap
-
reject
- Specified by:
rejectin interfaceBooleanIterable- Specified by:
rejectin interfaceBooleanValuesMap- Specified by:
rejectin interfaceMutableBooleanValuesMap
-
collect
- Specified by:
collectin interfaceBooleanIterable- Specified by:
collectin interfaceBooleanValuesMap- Specified by:
collectin interfaceMutableBooleanValuesMap
-
detectIfNone
- Specified by:
detectIfNonein interfaceBooleanIterable
-
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 interfaceMutableDoubleBooleanMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableDoubleBooleanMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableDoubleBooleanMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableDoubleBooleanMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableDoubleBooleanMap
-
toImmutable
- Specified by:
toImmutablein interfaceDoubleBooleanMap
-
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 interfaceDoubleBooleanMap
-
values
- Specified by:
valuesin interfaceBooleanValuesMap
-
equals
- Specified by:
equalsin interfaceDoubleBooleanMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceDoubleBooleanMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceDoubleBooleanMap- 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
-