Package org.jfree.data
Class KeyedValuesItemKey
java.lang.Object
org.jfree.data.KeyedValuesItemKey
- All Implemented Interfaces:
Serializable
,ItemKey
A key that references one item in a
KeyedValues
data structure.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Tests this instance for equality with an arbitrary object.Comparable<?>
getKey()
Returns the key.Returns a JSON formatted string representing the key.toString()
-
Constructor Details
-
KeyedValuesItemKey
Creates a new instance.- Parameters:
key
- the key (null
not permitted).
-
-
Method Details
-
getKey
Returns the key.- Returns:
- The key (never
null
).
-
equals
Tests this instance for equality with an arbitrary object. -
toJSONString
Description copied from interface:ItemKey
Returns a JSON formatted string representing the key.- Specified by:
toJSONString
in interfaceItemKey
- Returns:
- A JSON formatted string.
-
toString
-