public static class Byte2BooleanMaps.UnmodifyableMap extends AbstractByte2BooleanMap implements Byte2BooleanMap
AbstractByte2BooleanMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Byte2BooleanMap.Entry, Byte2BooleanMap.FastEntrySet| 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, 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(byte key,
boolean value)
Byte2BooleanMapput in interface Byte2BooleanMapkey - the key that should be inserted,value - the value that should be insertedMap.put(Object, Object)public boolean putIfAbsent(byte key,
boolean value)
Byte2BooleanMapputIfAbsent in interface Byte2BooleanMapkey - the key that should be inserted,value - the value that should be insertedMap.putIfAbsent(Object, Object)public boolean remByte(byte key)
Byte2BooleanMapremByte in interface Byte2BooleanMapkey - the element that should be removedpublic boolean remByteOrDefault(byte key,
boolean defaultValue)
Byte2BooleanMapremByteOrDefault in interface 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)
Byte2BooleanMapremove in interface Byte2BooleanMapkey - the element that should be removedvalue - the expected value that should be foundMap.remove(Object, Object)public boolean getBoolean(byte key)
Byte2BooleanMapgetBoolean in interface Byte2BooleanFunctiongetBoolean in interface 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()
Byte2BooleanMapbyte2BooleanEntrySet in interface Byte2BooleanMap