Interface ByteArraySupport
-
- All Known Subinterfaces:
Node,TemporaryFile
public interface ByteArraySupport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteArraygetByteArray(java.lang.String key)Returns theByteArrayto which the specified key is mapped, ornullif this map contains no mapping for the key.java.util.List<ByteArray>getByteArrayList(java.lang.String key)Returns the List ofByteArrayto which the specified key is mapped, ornullif this map contains no mapping for the keyByteArraysetByteArray(java.lang.String key, ByteArray value)Associates the specifiedByteArraywith the specified key in this map.java.util.List<ByteArray>setByteArrayList(java.lang.String key, java.util.List<ByteArray> value)Associates the specified List ofByteArraywith the specified key in this map.
-
-
-
Method Detail
-
getByteArray
ByteArray getByteArray(java.lang.String key)
Returns theByteArrayto which the specified key is mapped, ornullif this map contains no mapping for the key.- Parameters:
key- the key whose associated value is to be returned- Returns:
- the value to which the specified key is mapped, or
nullif this map contains no mapping for the key
-
setByteArray
ByteArray setByteArray(java.lang.String key, ByteArray value)
Associates the specifiedByteArraywith the specified key in this map. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
key- key with which the specified value is to be associatedvalue- value to be associated with the specified key.- Returns:
- a read-only
ByteArrayrepresenting the stored data
-
getByteArrayList
java.util.List<ByteArray> getByteArrayList(java.lang.String key)
Returns the List ofByteArrayto which the specified key is mapped, ornullif this map contains no mapping for the key- Parameters:
key- the key whose associated value is to be returned- Returns:
- the value to which the specified key is mapped, or
nullif this map contains no mapping for the key
-
setByteArrayList
java.util.List<ByteArray> setByteArrayList(java.lang.String key, java.util.List<ByteArray> value)
Associates the specified List ofByteArraywith the specified key in this map. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
key- key with which the specified value is to be associatedvalue- value to be associated with the specified key.- Returns:
- A read-only
Listof read-onlyByteArrayrepresenting the stored data
-
-