public static class Float2CharMaps.UnmodifyableMap extends AbstractFloat2CharMap implements Float2CharMap
AbstractFloat2CharMap.BasicEntryjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>Float2CharMap.Entry, Float2CharMap.FastEntrySet| Modifier and Type | Method and Description |
|---|---|
char |
addTo(float key,
char value)
A Helper method to add a primitives together.
|
ObjectSet<Float2CharMap.Entry> |
float2CharEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
char |
getChar(float key)
A Type Specific get method to reduce boxing/unboxing
|
char |
getOrDefault(float key,
char defaultValue)
A Type Specific getOrDefault method to reduce boxing/unboxing
|
FloatSet |
keySet() |
char |
put(float key,
char value)
Type Specific method to reduce boxing/unboxing of values
|
char |
putIfAbsent(float key,
char value)
Type Specific method to reduce boxing/unboxing of values
|
char |
remFloat(float key)
Type Specific remove function to reduce boxing/unboxing
|
char |
remFloatOrDefault(float key,
char defaultValue)
Type-Specific Remove function with a default return value if wanted.
|
boolean |
remove(float key,
char value)
Type Specific remove function to reduce boxing/unboxing
|
CharCollection |
values() |
addToAll, computeChar, computeCharIfAbsent, computeCharIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getDefaultReturnValue, getOrDefault, hashCode, mergeAllChar, mergeChar, putAll, putAll, putAll, putAllIfAbsent, replace, replace, replaceChars, replaceChars, setDefaultReturnValueclear, containsKey, containsValue, isEmpty, put, remove, size, toStringaddToAll, compute, computeChar, computeCharIfAbsent, computeCharIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, getDefaultReturnValue, getOrDefault, merge, mergeAllChar, mergeChar, put, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, remove, remove, replace, replace, replace, replace, replaceAll, replaceChars, replaceChars, setDefaultReturnValuepublic char put(float key,
char value)
Float2CharMapput in interface Float2CharMapkey - the key that should be inserted,value - the value that should be insertedMap.put(Object, Object)public char putIfAbsent(float key,
char value)
Float2CharMapputIfAbsent in interface Float2CharMapkey - the key that should be inserted,value - the value that should be insertedMap.putIfAbsent(Object, Object)public char addTo(float key,
char value)
Float2CharMapaddTo in interface Float2CharMapkey - the key that should be inserted,value - the value that should be inserted / addedpublic char remFloat(float key)
Float2CharMapremFloat in interface Float2CharMapkey - the element that should be removedpublic char remFloatOrDefault(float key,
char defaultValue)
Float2CharMapremFloatOrDefault in interface Float2CharMapkey - 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,
char value)
Float2CharMapremove in interface Float2CharMapkey - the element that should be removedvalue - the expected value that should be foundMap.remove(Object, Object)public char getChar(float key)
Float2CharMapgetChar in interface Float2CharFunctiongetChar in interface Float2CharMapkey - the key that is searched forpublic char getOrDefault(float key,
char defaultValue)
Float2CharMapgetOrDefault in interface Float2CharMapgetOrDefault in class AbstractFloat2CharMapkey - 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.Character>keySet in interface Float2CharMapkeySet in class AbstractFloat2CharMappublic CharCollection values()
values in interface java.util.Map<java.lang.Float,java.lang.Character>values in interface Float2CharMapvalues in class AbstractFloat2CharMappublic ObjectSet<Float2CharMap.Entry> float2CharEntrySet()
Float2CharMapfloat2CharEntrySet in interface Float2CharMap