Summary:
Methods
| Inherited Methods
AudioMetadata.Map
public
static
interface
AudioMetadata.Map
implements
AudioMetadata.ReadMap
| android.media.AudioMetadata.Map |
A writeable Map interface of Key value pairs.
This interface is not guaranteed to be thread-safe
unless the supplier for the Map states it as thread safe.
Summary
Public methods | |
|---|---|
abstract
<T>
T
|
remove(Key<T> key)
Removes the value associated with the key. |
abstract
<T>
T
|
set(Key<T> key, T value)
Sets a value for the key. |
Inherited methods | |
|---|---|
Public methods
remove
public abstract T remove (Key<T> key)
Removes the value associated with the key.
| Parameters | |
|---|---|
key |
Key: interface for storing the value.
This value must never be null. |
| Returns | |
|---|---|
T |
the value of the key, null if it doesn't exist. |
set
public abstract T set (Key<T> key, T value)
Sets a value for the key.
| Parameters | |
|---|---|
key |
Key: interface for storing the value.
This value must never be null. |
value |
T: a non-null value of type T.
This value must never be null. |
| Returns | |
|---|---|
T |
the previous value associated with key or null if it doesn't exist. |