Interface Pair<K,V>

All Known Implementing Classes:
PairImpl

public interface Pair<K,V>
  • Method Details

    • getKey

      K getKey()
    • getLeft

      K getLeft()
    • getValue

      V getValue()
    • getRight

      V getRight()
    • key

      Pair<K,V> key(K key)
    • left

      Pair<K,V> left(K left)
    • value

      Pair<K,V> value(V value)
    • right

      Pair<K,V> right(V right)
    • of

      static <K1, V1> Pair<K1,V1> of(K1 key, V1 value)
    • create

      static <K1, V1> Pair<K1,V1> create()