org.jfree.data

## Interface KeyedValue

- All Superinterfaces:
    Value
  All Known Implementing Classes:
    DefaultKeyedValue

      public interface KeyedValue
      extends Value

  A (key, value) pair.
  See Also:
    `DefaultKeyedValue`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Comparable` | `getKey()` Returns the key associated with the value.

    - ### Methods inherited from interface org.jfree.data.Value

      `getValue`

- - ### Method Detail

    - #### getKey

          java.lang.Comparable getKey()

      Returns the key associated with the value. The key returned by this method should be immutable.
      Returns:
        The key (never `null`).