Package com.tapkey.mobile.utils
Class KeyValuePair<TKey,TValue>
- java.lang.Object
-
- com.tapkey.mobile.utils.KeyValuePair<TKey,TValue>
-
- Type Parameters:
TKey
- the type of the keyTValue
- the type of the value
public class KeyValuePair<TKey,TValue> extends Object
Provides a structure of a key and a corresponding value.
-
-
Constructor Summary
Constructors Constructor Description KeyValuePair(TKey key, TValue value)
Construct a KeyValuePair with the given key and the corresponding value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TKey
getKey()
Retrieves the key of the KeyValuePairTValue
getValue()
Retrieves the value of the KeyValuePair
-