public interface ReadableAttributes
See Attributes
for the public API implementation.
Modifier and Type | Method and Description |
---|---|
void |
forEach(AttributeConsumer consumer)
Iterates over all the key-value pairs of attributes contained by this instance.
|
<T> T |
get(AttributeKey<T> key) |
boolean |
isEmpty()
Whether there are any attributes contained in this.
|
int |
size()
The number of attributes contained in this.
|
<T> T get(AttributeKey<T> key)
int size()
boolean isEmpty()
void forEach(AttributeConsumer consumer)