Interface KeyedValue<T>

Type Parameters:
T - the value type
All Superinterfaces:
Keyed

public interface KeyedValue<T> extends Keyed
A T value with an associated Key.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> KeyedValue<T>
    keyedValue(Key key, T value)
    Creates a link.
    Gets the value.

    Methods inherited from interface Keyed

    key
  • Method Details

    • keyedValue

      static <T> KeyedValue<T> keyedValue(Key key, T value)
      Creates a link.
      Type Parameters:
      T - the value type
      Parameters:
      key - the key
      value - the value
      Returns:
      the keyed
      Since:
      4.10.0
    • value

      T value()
      Gets the value.
      Returns:
      the value
      Since:
      4.0.0