Interface Pair<K,V>

Type Parameters:
K - the Java type of the key
V - the Java type of the contained value

@Immutable public interface Pair<K,V>
Immutable pair of a key and a value
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    key()
    Returns the property key.
    Returns the property value.
  • Method Details

    • key

      K key()
      Returns the property key.
      Returns:
      the property key
    • value

      V value()
      Returns the property value.
      Returns:
      the property value