Attributes supporting an arbitrary number of key-value pairs.
| Modifier and Type | Method and Description |
|---|---|
| public Attributes | |
| public <T> AttributesBuilder | |
| public <T> AttributesBuilder | |
| public default AttributesBuilder | |
| public default AttributesBuilder | |
| public default AttributesBuilder | |
| public default AttributesBuilder | |
| public default AttributesBuilder | |
| public default <T> AttributesBuilder | |
| public default AttributesBuilder | |
| public default AttributesBuilder | |
| public default AttributesBuilder | |
| public AttributesBuilder | Returns: this BuilderPuts all the provided attributes into this Builder. |
| public default <T> AttributesBuilder | Returns: this BuilderRemove all attributes where |
| public default AttributesBuilder | Returns: this BuilderRemove all attributes that satisfy the given predicate. |
| build | back to summary |
|---|---|
| public Attributes build() Create the | |
| put | back to summary |
|---|---|
| public <T> AttributesBuilder put(AttributeKey<Long> key, int value) Puts a The type parameter is unused. | |
| put | back to summary |
|---|---|
| public <T> AttributesBuilder put(AttributeKey<T> key, T value) Puts a | |
| put | back to summary |
|---|---|
| public default AttributesBuilder put(String key, String value) Puts a String attribute into this. Note It is strongly recommended to use
| |
| put | back to summary |
|---|---|
| public default AttributesBuilder put(String key, long value) Puts a long attribute into this. Note It is strongly recommended to use
| |
| put | back to summary |
|---|---|
| public default AttributesBuilder put(String key, double value) Puts a double attribute into this. Note It is strongly recommended to use
| |
| put | back to summary |
|---|---|
| public default AttributesBuilder put(String key, boolean value) Puts a boolean attribute into this. Note It is strongly recommended to use
| |
| put | back to summary |
|---|---|
| public default AttributesBuilder put(String key, String... value) Puts a String array attribute into this. Note It is strongly recommended to use
| |
| put | back to summary |
|---|---|
| public default <T> AttributesBuilder put(AttributeKey<List<T>> key, T... value) Puts a List attribute into this.
| |
| put | back to summary |
|---|---|
| public default AttributesBuilder put(String key, long... value) Puts a Long array attribute into this. Note It is strongly recommended to use
| |
| put | back to summary |
|---|---|
| public default AttributesBuilder put(String key, double... value) Puts a Double array attribute into this. Note It is strongly recommended to use
| |
| put | back to summary |
|---|---|
| public default AttributesBuilder put(String key, boolean... value) Puts a Boolean array attribute into this. Note It is strongly recommended to use
| |
| putAll | back to summary |
|---|---|
| public AttributesBuilder putAll(Attributes attributes) Puts all the provided attributes into this Builder.
| |
| remove | back to summary |
|---|---|
| public default <T> AttributesBuilder remove(AttributeKey<T> key) Remove all attributes where
| |
| removeIf | back to summary |
|---|---|
| public default AttributesBuilder removeIf(Predicate<AttributeKey<?>> filter) Remove all attributes that satisfy the given predicate. Errors or runtime exceptions thrown by the predicate are relayed to the caller.
| |