V - The type of the values contained in this.public interface ReadableKeyValuePairs<V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ReadableKeyValuePairs.KeyValueConsumer<V>
Used for iterating over the key-value pairs in a key-value pair container, such as
Attributes or Labels. |
| Modifier and Type | Method and Description |
|---|---|
void |
forEach(ReadableKeyValuePairs.KeyValueConsumer<V> consumer)
Iterates over all the key-value pairs of attributes contained by this instance.
|
V |
get(String key)
Returns the value of the given key, or null if the key does not exist.
|
boolean |
isEmpty()
Whether there are any attributes contained in this.
|
int |
size()
The number of attributes contained in this.
|
int size()
boolean isEmpty()
void forEach(ReadableKeyValuePairs.KeyValueConsumer<V> consumer)