Package org.jfree.data
Interface KeyedValue<K extends java.lang.Comparable<K>>
-
- Type Parameters:
K
- the key type.
- All Superinterfaces:
Value
- All Known Subinterfaces:
KeyedValueDataset
- All Known Implementing Classes:
DefaultKeyedValue
,DefaultKeyedValueDataset
public interface KeyedValue<K extends java.lang.Comparable<K>> extends Value
A (key, value) pair.- See Also:
DefaultKeyedValue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description K
getKey()
Returns the key associated with the value.
-
-
-
Method Detail
-
getKey
K getKey()
Returns the key associated with the value. The key returned by this method should be immutable.- Returns:
- The key (never
null
).
-
-