Class AbstractKeyValue<K,V> 
java.lang.Object
org.apache.commons.collections4.keyvalue.AbstractKeyValue<K,V> 
- Type Parameters:
- K- the type of keys
- V- the type of values
- All Implemented Interfaces:
- KeyValue<K,- V> 
- Direct Known Subclasses:
- AbstractMapEntry,- DefaultKeyValue
Abstract pair class to assist with creating 
KeyValue
 and Map.Entry implementations.- Since:
- 3.0
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractKeyValue(K key, V value) Constructs a new pair with the specified key and given value.
- 
Method Summary
- 
Constructor Details- 
AbstractKeyValueConstructs a new pair with the specified key and given value.- Parameters:
- key- the key for the entry, may be null
- value- the value for the entry, may be null
 
 
- 
- 
Method Details- 
getKey
- 
getValue
- 
setKey
- 
setValue
- 
toString
 
-