Class AbstractKeyValue<K,V>
- java.lang.Object
-
- org.apache.commons.collections4.keyvalue.AbstractKeyValue<K,V>
-
- All Implemented Interfaces:
KeyValue<K,V>
- Direct Known Subclasses:
AbstractMapEntry
,DefaultKeyValue
public abstract class AbstractKeyValue<K,V> extends Object implements KeyValue<K,V>
Abstract pair class to assist with creatingKeyValue
andMap.Entry
implementations.- Since:
- 3.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractKeyValue(K key, V value)
Constructs a new pair with the specified key and given value.
-