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
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractKeyValue(K key, V value) Constructs a new pair with the specified key and given value. -
Method Summary
-
Field Details
-
key
The key -
value
The value
-
-
Constructor Details
-
AbstractKeyValue
-
-
Method Details
-
getKey
-
setKey
-
getValue
-
setValue
-
toString
-