- All Superinterfaces:
Cloneable,Map<AttributeHandle,,byte[]> Serializable
public interface AttributeHandleValueMap
extends Map<AttributeHandle,byte[]>, Cloneable, Serializable
Keys are AttributeHandles; values are byte[].
All operations are required, none optional.
Null mappings are not allowed.
put(), putAll(), and remove() should throw IllegalArgumentException to enforce
types of keys and mappings.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a reference to the value to which this map maps the specified key.getValueReference(AttributeHandle key, ByteWrapper byteWrapper) Returns the specified reference updated to the value to which this map maps the specified key.Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Method Details
-
getValueReference
Returns a reference to the value to which this map maps the specified key. Returns null if the map contains no mapping for this key.- Parameters:
key- key whose associated value is to be returned.- Returns:
- a reference to the value to which this map maps the specified key, or null if the map contains no mapping for this key.
-
getValueReference
Returns the specified reference updated to the value to which this map maps the specified key. Returns null if the map contains no mapping for this key.- Parameters:
key- key whose associated value is to be returned.- Returns:
- the specified reference updated to the value to which this map maps the specified key, or null if the map contains no mapping for this key.
-