Class KeyedValuesItemKey

java.lang.Object
org.jfree.data.KeyedValuesItemKey
All Implemented Interfaces:
Serializable, ItemKey

public class KeyedValuesItemKey extends Object implements ItemKey, Serializable
A key that references one item in a KeyedValues data structure.
See Also:
  • Constructor Details

  • Method Details

    • getKey

      public Comparable<?> getKey()
      Returns the key.
      Returns:
      The key (never null).
    • equals

      public boolean equals(Object obj)
      Tests this instance for equality with an arbitrary object.
      Overrides:
      equals in class Object
      Parameters:
      obj - the object (null not permitted).
      Returns:
      A boolean.
    • toJSONString

      public String toJSONString()
      Description copied from interface: ItemKey
      Returns a JSON formatted string representing the key.
      Specified by:
      toJSONString in interface ItemKey
      Returns:
      A JSON formatted string.
    • toString

      public String toString()
      Overrides:
      toString in class Object