K
- the type of keysV
- the type of valuespublic 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–2019 The Apache Software Foundation. All rights reserved.