public static class Double2BooleanMaps.UnmodifyableMap extends AbstractDouble2BooleanMap implements Double2BooleanMap
AbstractDouble2BooleanMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Double2BooleanMap.Entry, Double2BooleanMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
ObjectSet<Double2BooleanMap.Entry> |
double2BooleanEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
boolean |
getBoolean(double key)
A Type Specific get method to reduce boxing/unboxing
|
boolean |
getOrDefault(double key,
boolean defaultValue)
A Type Specific getOrDefault method to reduce boxing/unboxing
|
DoubleSet |
keySet() |
boolean |
put(double key,
boolean value)
Type Specific method to reduce boxing/unboxing of values
|
boolean |
putIfAbsent(double key,
boolean value)
Type Specific method to reduce boxing/unboxing of values
|
boolean |
remDouble(double key)
Type Specific remove function to reduce boxing/unboxing
|
boolean |
remDoubleOrDefault(double key,
boolean defaultValue)
Type-Specific Remove function with a default return value if wanted.
|
boolean |
remove(double key,
boolean value)
Type Specific remove function to reduce boxing/unboxing
|
BooleanCollection |
values() |
computeBoolean, computeBooleanIfAbsent, computeBooleanIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllBoolean, mergeBoolean, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceBooleans, replaceBooleans, setDefaultReturnValueclear, containsKey, containsValue, isEmpty, put, remove, size, toStringcompute, computeBoolean, computeBooleanIfAbsent, computeBooleanIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getOrDefault, merge, mergeAllBoolean, mergeBoolean, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, remove, remove, replace, replace, replace, replace, replaceAll, replaceBooleans, replaceBooleans, setDefaultReturnValuepublic boolean put(double key,
boolean value)
Double2BooleanMapput in interface Double2BooleanMapkey - the key that should be inserted,value - the value that should be insertedMap.put(Object, Object)public boolean putIfAbsent(double key,
boolean value)
Double2BooleanMapputIfAbsent in interface Double2BooleanMapkey - the key that should be inserted,value - the value that should be insertedMap.putIfAbsent(Object, Object)public boolean remDouble(double key)
Double2BooleanMapremDouble in interface Double2BooleanMapkey - the element that should be removedpublic boolean remDoubleOrDefault(double key,
boolean defaultValue)
Double2BooleanMapremDoubleOrDefault in interface Double2BooleanMapkey - the element that should be removeddefaultValue - the value that should be returned if the entry doesn't existMap.remove(Object, Object)public boolean remove(double key,
boolean value)
Double2BooleanMapremove in interface Double2BooleanMapkey - the element that should be removedvalue - the expected value that should be foundMap.remove(Object, Object)public boolean getBoolean(double key)
Double2BooleanMapgetBoolean in interface Double2BooleanFunctiongetBoolean in interface Double2BooleanMapkey - the key that is searched forpublic boolean getOrDefault(double key,
boolean defaultValue)
Double2BooleanMapgetOrDefault in interface Double2BooleanMapgetOrDefault in class AbstractDouble2BooleanMapkey - the key that is searched fordefaultValue - the value that should be returned if the key is not presentpublic DoubleSet keySet()
keySet in interface java.util.Map<java.lang.Double,java.lang.Boolean>keySet in interface Double2BooleanMapkeySet in class AbstractDouble2BooleanMappublic BooleanCollection values()
values in interface java.util.Map<java.lang.Double,java.lang.Boolean>values in interface Double2BooleanMapvalues in class AbstractDouble2BooleanMappublic ObjectSet<Double2BooleanMap.Entry> double2BooleanEntrySet()
Double2BooleanMapdouble2BooleanEntrySet in interface Double2BooleanMap