public static class Float2BooleanMaps.EmptyMap extends AbstractFloat2BooleanMap
AbstractFloat2BooleanMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Float2BooleanMap.Entry, Float2BooleanMap.FastEntrySet| Constructor and Description |
|---|
EmptyMap() |
| Modifier and Type | Method and Description |
|---|---|
ObjectSet<Float2BooleanMap.Entry> |
float2BooleanEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
boolean |
getBoolean(float key)
A Type Specific get method to reduce boxing/unboxing
|
boolean |
getOrDefault(float key,
boolean defaultValue)
A Type Specific getOrDefault method to reduce boxing/unboxing
|
FloatSet |
keySet() |
boolean |
put(float key,
boolean value)
Type Specific method to reduce boxing/unboxing of values
|
boolean |
putIfAbsent(float key,
boolean value)
Type Specific method to reduce boxing/unboxing of values
|
boolean |
remFloat(float key)
Type Specific remove function to reduce boxing/unboxing
|
boolean |
remFloatOrDefault(float key,
boolean defaultValue)
Type-Specific Remove function with a default return value if wanted.
|
boolean |
remove(float 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, computeIfAbsent, computeIfPresent, containsKey, containsValue, forEach, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAllpublic boolean put(float key,
boolean value)
Float2BooleanMapkey - the key that should be inserted,value - the value that should be insertedMap.put(Object, Object)public boolean putIfAbsent(float key,
boolean value)
Float2BooleanMapkey - the key that should be inserted,value - the value that should be insertedMap.putIfAbsent(Object, Object)public boolean remFloat(float key)
Float2BooleanMapkey - the element that should be removedpublic boolean remFloatOrDefault(float key,
boolean defaultValue)
Float2BooleanMapkey - the element that should be removeddefaultValue - the value that should be returned if the entry doesn't existMap.remove(Object, Object)public boolean remove(float key,
boolean value)
Float2BooleanMapkey - the element that should be removedvalue - the expected value that should be foundMap.remove(Object, Object)public boolean getBoolean(float key)
Float2BooleanMapkey - the key that is searched forpublic boolean getOrDefault(float key,
boolean defaultValue)
Float2BooleanMapgetOrDefault in interface Float2BooleanMapgetOrDefault in class AbstractFloat2BooleanMapkey - the key that is searched fordefaultValue - the value that should be returned if the key is not presentpublic FloatSet keySet()
keySet in interface java.util.Map<java.lang.Float,java.lang.Boolean>keySet in interface Float2BooleanMapkeySet in class AbstractFloat2BooleanMappublic BooleanCollection values()
values in interface java.util.Map<java.lang.Float,java.lang.Boolean>values in interface Float2BooleanMapvalues in class AbstractFloat2BooleanMappublic ObjectSet<Float2BooleanMap.Entry> float2BooleanEntrySet()
Float2BooleanMap