public static class Byte2BooleanMaps.EmptyMap extends AbstractByte2BooleanMap
AbstractByte2BooleanMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Byte2BooleanMap.Entry, Byte2BooleanMap.FastEntrySet| Constructor and Description |
|---|
EmptyMap() |
| Modifier and Type | Method and Description |
|---|---|
ObjectSet<Byte2BooleanMap.Entry> |
byte2BooleanEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
boolean |
getBoolean(byte key)
A Type Specific get method to reduce boxing/unboxing
|
boolean |
getOrDefault(byte key,
boolean defaultValue)
A Type Specific getOrDefault method to reduce boxing/unboxing
|
ByteSet |
keySet() |
boolean |
put(byte key,
boolean value)
Type Specific method to reduce boxing/unboxing of values
|
boolean |
putIfAbsent(byte key,
boolean value)
Type Specific method to reduce boxing/unboxing of values
|
boolean |
remByte(byte key)
Type Specific remove function to reduce boxing/unboxing
|
boolean |
remByteOrDefault(byte key,
boolean defaultValue)
Type-Specific Remove function with a default return value if wanted.
|
boolean |
remove(byte 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(byte key,
boolean value)
Byte2BooleanMapkey - the key that should be inserted,value - the value that should be insertedMap.put(Object, Object)public boolean putIfAbsent(byte key,
boolean value)
Byte2BooleanMapkey - the key that should be inserted,value - the value that should be insertedMap.putIfAbsent(Object, Object)public boolean remByte(byte key)
Byte2BooleanMapkey - the element that should be removedpublic boolean remByteOrDefault(byte key,
boolean defaultValue)
Byte2BooleanMapkey - the element that should be removeddefaultValue - the value that should be returned if the entry doesn't existMap.remove(Object, Object)public boolean remove(byte key,
boolean value)
Byte2BooleanMapkey - the element that should be removedvalue - the expected value that should be foundMap.remove(Object, Object)public boolean getBoolean(byte key)
Byte2BooleanMapkey - the key that is searched forpublic boolean getOrDefault(byte key,
boolean defaultValue)
Byte2BooleanMapgetOrDefault in interface Byte2BooleanMapgetOrDefault in class AbstractByte2BooleanMapkey - the key that is searched fordefaultValue - the value that should be returned if the key is not presentpublic ByteSet keySet()
keySet in interface java.util.Map<java.lang.Byte,java.lang.Boolean>keySet in interface Byte2BooleanMapkeySet in class AbstractByte2BooleanMappublic BooleanCollection values()
values in interface java.util.Map<java.lang.Byte,java.lang.Boolean>values in interface Byte2BooleanMapvalues in class AbstractByte2BooleanMappublic ObjectSet<Byte2BooleanMap.Entry> byte2BooleanEntrySet()
Byte2BooleanMap