Class KeyValuePair<K,V>
java.lang.Object
org.pushingpixels.radiance.component.api.common.KeyValuePair<K,V>
- Type Parameters:
K
- Key class.V
- Value class.
Generic key-value pair.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
key
Pair key. -
value
Pair value.
-
-
Constructor Details
-
KeyValuePair
Creates a new pair.- Parameters:
key
- Pair key.value
- Pair value.
-
-
Method Details
-
getValue
Returns the pair value.- Returns:
- Pair value.
-
getKey
Returns the pair key.- Returns:
- Pair key.
-