org.apache.commons.collections
public interface KeyValue
A Map Entry has considerable additional semantics over and above a simple key-value pair. This interface defines the minimum key value, with just the two get methods.
Since: Commons Collections 3.0
Version: $Revision: 646777 $ $Date: 2008-04-10 13:33:15 +0100 (Thu, 10 Apr 2008) $
Method Summary | |
---|---|
Object | getKey()
Gets the key from the pair.
|
Object | getValue()
Gets the value from the pair.
|
Returns: the key
Returns: the value