This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final String | |
| private byte[] | |
| private final AttributeType |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| private static int | |
| public static <T> AttributeKey | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | getKey()
Implements io. Returns the underlying String representation of the key. |
| public byte[] | |
| public AttributeType | getType()
Implements io. Returns the type of attribute for this key. |
| public int | |
| public String |
| hashCode | back to summary |
|---|---|
| private final int hashCode | |
| key | back to summary |
|---|---|
| private final String key | |
| keyUtf8 | back to summary |
|---|---|
| private byte[] keyUtf8
| |
| type | back to summary |
|---|---|
| private final AttributeType type | |
| InternalAttributeKeyImpl | back to summary |
|---|---|
| private InternalAttributeKeyImpl(AttributeType type, String key) | |
| buildHashCode | back to summary |
|---|---|
private int buildHashCode()
| |
| buildHashCode | back to summary |
|---|---|
| private static int buildHashCode(AttributeType type, String key) | |
| create | back to summary |
|---|---|
| public static <T> AttributeKey | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getKey | back to summary |
|---|---|
| public String getKey() Implements io. Doc from io. Returns the underlying String representation of the key.
| |
| getKeyUtf8 | back to summary |
|---|---|
| public byte[] getKeyUtf8() Returns the key, encoded as UTF-8 bytes. | |
| getType | back to summary |
|---|---|
| public AttributeType getType() Implements io. Doc from io. Returns the type of attribute for this key. Useful for building switch statements.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |