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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTests 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 (nullnot 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:ItemKeyReturns a JSON formatted string representing the key.- Specified by:
toJSONStringin interfaceItemKey- Returns:
- A JSON formatted string.
-
toString
-