public abstract class AbstractKeyValue extends Object implements KeyValue
KeyValue
and Map.Entry
implementations.Modifier and Type | Field and Description |
---|---|
protected Object |
key
The key
|
protected Object |
value
The value
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractKeyValue(Object key,
Object value)
Constructs a new pair with the specified key and given value.
|
Modifier and Type | Method and Description |
---|---|
Object |
getKey()
Gets the key from the pair.
|
Object |
getValue()
Gets the value from the pair.
|
String |
toString()
Gets a debugging String view of the pair.
|