| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Attributes | |
| private static final Comparator |
| Access | Constructor and Description |
|---|---|
| private | |
| pack-priv | ArrayBackedAttributes(Object[]
the raw data data)Only use this constructor if you can guarantee that the data has been de-duped, sorted by key and contains no null values or null/empty keys. |
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | get(AttributeKey<T> key)
Overrides io. Implements io. Returns the value for the given |
| pack-priv static Attributes | |
| public AttributesBuilder | toBuilder()
Implements io. Returns a new |
| EMPTY | back to summary |
|---|---|
| pack-priv static final Attributes EMPTY | |
| KEY_COMPARATOR_FOR_CONSTRUCTION | back to summary |
|---|---|
| private static final Comparator<AttributeKey<?>> KEY_COMPARATOR_FOR_CONSTRUCTION | |
| ArrayBackedAttributes | back to summary |
|---|---|
| private ArrayBackedAttributes(Object[] data, Comparator<AttributeKey<?>> keyComparator) | |
| ArrayBackedAttributes | back to summary |
|---|---|
| pack-priv ArrayBackedAttributes(Object[] data) Only use this constructor if you can guarantee that the data has been de-duped, sorted by key and contains no null values or null/empty keys.
| |
| get | back to summary |
|---|---|
| public <T> T get(AttributeKey<T> key) Overrides io. Implements io. Doc from io. Returns the value for the given
| |
| sortAndFilterToAttributes | back to summary |
|---|---|
| pack-priv static Attributes sortAndFilterToAttributes(Object... data) | |
| toBuilder | back to summary |
|---|---|
| public AttributesBuilder toBuilder() Implements io. Doc from io. Returns a new
| |