public abstract class AbstractKeyValue<K,V> extends Object implements KeyValue<K,V>
KeyValue
and Map.Entry implementations.| Modifier and Type | Field and Description |
|---|---|
protected K |
key
The key
|
protected V |
value
The value
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractKeyValue(K key,
V value)
Constructs a new pair with the specified key and given value.
|
protected AbstractKeyValue(K key, V value)
key - the key for the entry, may be nullvalue - the value for the entry, may be nullCopyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.