Class AbstractKeyValue<K,V>
- java.lang.Object
-
- org.apache.commons.collections4.keyvalue.AbstractKeyValue<K,V>
-
- Type Parameters:
K
- the type of keysV
- the type of values
- All Implemented Interfaces:
KeyValue<K,V>
- Direct Known Subclasses:
AbstractMapEntry
,DefaultKeyValue
public abstract class AbstractKeyValue<K,V> extends java.lang.Object implements KeyValue<K,V>
Abstract pair class to assist with creatingKeyValue
andMap.Entry
implementations.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description K
getKey()
Gets the key from the pair.V
getValue()
Gets the value from the pair.java.lang.String
toString()
Gets a debugging String view of the pair.
-