- Type Parameters:
K
- Specifies the type of the key.
V
- Specifies the type of the value.
public interface JKKeyValue<K,V>
This interface represents a key-value pair, where a key and a corresponding
value are associated.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Method Summary
This method retrieves the key associated with this key-value pair.
This method retrieves the value associated with this key-value pair.
-
Method Details
-
getKey
This method retrieves the key associated with this key-value pair.
- Returns:
- the key of the key-value pair.
-
getValue
This method retrieves the value associated with this key-value pair.
- Returns:
- the value of the key-value pair.