Interface KeyValue


public interface KeyValue
Key-value pair of String key and Value value.
Since:
1.42.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the key.
    Returns the value.
    static KeyValue
    of(String key, Value<?> value)
    Returns a KeyValue for the given key and value.
  • Method Details

    • of

      static KeyValue of(String key, Value<?> value)
      Returns a KeyValue for the given key and value.
    • getKey

      String getKey()
      Returns the key.
    • getValue

      Value<?> getValue()
      Returns the value.