Class KeyValuePair<K,V>
java.lang.Object
ch.nolix.base.datastructure.pair.KeyValuePair<K,V>
- Type Parameters:
K- is the type of the key of of aKeyValuePair.V- is the type of the value of of aKeyValuePair.
- All Implemented Interfaces:
IKeyValuePair<K,V>
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()toString()static <K2,V2> KeyValuePair <K2, V2> withKeyAndValue(K2 key, V2 value)
-
Method Details
-
withKeyAndValue
-
getKey
- Specified by:
getKeyin interfaceIKeyValuePair<K,V>
-
getStoredValue
- Specified by:
getStoredValuein interfaceIKeyValuePair<K,V>
-
toString
-