@Immutable public final class LocalizedKey extends java.lang.Object implements AttributeKey
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
key |
private java.util.Locale |
lang |
Constructor and Description |
---|
LocalizedKey(java.lang.String key,
java.util.Locale lang) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKeyName()
Returns a String representation of the attribute key.
|
java.util.Locale |
getLang() |
int |
hashCode() |
java.lang.String |
toString() |
public java.util.Locale getLang()
public java.lang.String getKeyName()
AttributeKey
getKeyName
in interface AttributeKey
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object