class DirectAddressable extends java.lang.Object implements KeyLabledObject
Modifier and Type | Field and Description |
---|---|
private int |
key |
private java.lang.String |
value |
Constructor and Description |
---|
DirectAddressable(int key,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
int |
getKey() |
java.lang.String |
getValue() |
void |
setKey(int key) |
void |
setValue(java.lang.String value) |
public int getKey()
getKey
in interface KeyLabledObject
public void setKey(int key)
public java.lang.String getValue()
public void setValue(java.lang.String value)