public abstract class AbstractKeyValue<K,V> extends Object implements KeyValue<K,V>
KeyValue
and Map.Entry
implementations.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–2018 The Apache Software Foundation. All rights reserved.