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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableDoubleBooleanMap(MutableDoubleBooleanMap map)
-
Method Summary
-
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, select
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.BooleanValuesMap
tap
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.DoubleBooleanMap
allSatisfyKeyValue, injectIntoKeyValue
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMap
withAllKeyValues
-
-
-
-
Constructor Detail
-
UnmodifiableDoubleBooleanMap
public UnmodifiableDoubleBooleanMap(MutableDoubleBooleanMap map)
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clearin interfaceMutableBooleanValuesMap
-
put
public void put(double key, boolean value)- Specified by:
putin interfaceMutableDoubleBooleanMap
-
putPair
public void putPair(DoubleBooleanPair keyValuePair)
- Specified by:
putPairin interfaceMutableDoubleBooleanMap
-
putAll
public void putAll(DoubleBooleanMap map)
- Specified by:
putAllin interfaceMutableDoubleBooleanMap
-
updateValues
public void updateValues(DoubleBooleanToBooleanFunction function)
- 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
public boolean getIfAbsentPut(double key, BooleanFunction0 function)- Specified by:
getIfAbsentPutin interfaceMutableDoubleBooleanMap
-
getIfAbsentPutWithKey
public boolean getIfAbsentPutWithKey(double key, DoubleToBooleanFunction function)- Specified by:
getIfAbsentPutWithKeyin interfaceMutableDoubleBooleanMap
-
getIfAbsentPutWith
public <P> boolean getIfAbsentPutWith(double key, BooleanFunction<? super P> function, P parameter)- 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
public void forEachValue(BooleanProcedure procedure)
- Specified by:
forEachValuein interfaceBooleanValuesMap
-
forEachKey
public void forEachKey(DoubleProcedure procedure)
- Specified by:
forEachKeyin interfaceDoubleBooleanMap
-
forEachKeyValue
public void forEachKeyValue(DoubleBooleanProcedure procedure)
- Specified by:
forEachKeyValuein interfaceDoubleBooleanMap
-
keysView
public LazyDoubleIterable keysView()
- Specified by:
keysViewin interfaceDoubleBooleanMap
-
keyValuesView
public RichIterable<DoubleBooleanPair> keyValuesView()
- Specified by:
keyValuesViewin interfaceDoubleBooleanMap
-
select
public MutableDoubleBooleanMap select(DoubleBooleanPredicate predicate)
- Specified by:
selectin interfaceDoubleBooleanMap- Specified by:
selectin interfaceMutableDoubleBooleanMap
-
reject
public MutableDoubleBooleanMap reject(DoubleBooleanPredicate predicate)
- Specified by:
rejectin interfaceDoubleBooleanMap- Specified by:
rejectin interfaceMutableDoubleBooleanMap
-
booleanIterator
public MutableBooleanIterator booleanIterator()
- Specified by:
booleanIteratorin interfaceBooleanIterable- Specified by:
booleanIteratorin interfaceMutableBooleanValuesMap
-
each
public void each(BooleanProcedure procedure)
- Specified by:
eachin interfaceBooleanIterable- Since:
- 7.0.
-
count
public int count(BooleanPredicate predicate)
- Specified by:
countin interfaceBooleanIterable
-
anySatisfy
public boolean anySatisfy(BooleanPredicate predicate)
- Specified by:
anySatisfyin interfaceBooleanIterable
-
allSatisfy
public boolean allSatisfy(BooleanPredicate predicate)
- Specified by:
allSatisfyin interfaceBooleanIterable
-
noneSatisfy
public boolean noneSatisfy(BooleanPredicate predicate)
- Specified by:
noneSatisfyin interfaceBooleanIterable
-
select
public MutableBooleanBag select(BooleanPredicate predicate)
- Specified by:
selectin interfaceBooleanIterable- Specified by:
selectin interfaceBooleanValuesMap- Specified by:
selectin interfaceMutableBooleanValuesMap
-
reject
public MutableBooleanBag reject(BooleanPredicate predicate)
- Specified by:
rejectin interfaceBooleanIterable- Specified by:
rejectin interfaceBooleanValuesMap- Specified by:
rejectin interfaceMutableBooleanValuesMap
-
collect
public <V> MutableBag<V> collect(BooleanToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceBooleanIterable- Specified by:
collectin interfaceBooleanValuesMap- Specified by:
collectin interfaceMutableBooleanValuesMap
-
detectIfNone
public boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)
- 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
public boolean containsAll(BooleanIterable source)
- Specified by:
containsAllin interfaceBooleanIterable
-
toList
public MutableBooleanList toList()
- Specified by:
toListin interfaceBooleanIterable
-
toSet
public MutableBooleanSet toSet()
- Specified by:
toSetin interfaceBooleanIterable
-
toBag
public MutableBooleanBag toBag()
- Specified by:
toBagin interfaceBooleanIterable
-
asLazy
public LazyBooleanIterable asLazy()
- Specified by:
asLazyin interfaceBooleanIterable
-
withKeyValue
public MutableDoubleBooleanMap withKeyValue(double key, boolean value)
- Specified by:
withKeyValuein interfaceMutableDoubleBooleanMap
-
withoutKey
public MutableDoubleBooleanMap withoutKey(double key)
- Specified by:
withoutKeyin interfaceMutableDoubleBooleanMap
-
withoutAllKeys
public MutableDoubleBooleanMap withoutAllKeys(DoubleIterable keys)
- Specified by:
withoutAllKeysin interfaceMutableDoubleBooleanMap
-
asUnmodifiable
public MutableDoubleBooleanMap asUnmodifiable()
- Specified by:
asUnmodifiablein interfaceMutableDoubleBooleanMap
-
asSynchronized
public MutableDoubleBooleanMap asSynchronized()
- Specified by:
asSynchronizedin interfaceMutableDoubleBooleanMap
-
toImmutable
public ImmutableDoubleBooleanMap 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
public MutableDoubleSet keySet()
- Specified by:
keySetin interfaceDoubleBooleanMap
-
values
public MutableBooleanCollection values()
- Specified by:
valuesin interfaceBooleanValuesMap
-
equals
public boolean equals(Object otherMap)
- Specified by:
equalsin interfaceDoubleBooleanMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceDoubleBooleanMap- Overrides:
hashCodein classObject
-
toString
public String toString()
- Specified by:
toStringin interfaceDoubleBooleanMap- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
makeString
public String makeString()
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String separator)
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendStringin interfacePrimitiveIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T,? extends T> function)- Specified by:
injectIntoin interfaceBooleanIterable
-
chunk
public RichIterable<BooleanIterable> chunk(int size)
- Specified by:
chunkin interfaceBooleanIterable
-
-