Class Tuple<K,V>

java.lang.Object
org.patternfly.core.Tuple<K,V>
Type Parameters:
K - The type of the key.
V - The type of the value.

public class Tuple<K,V> extends Object
An immutable key-value pair.
  • Field Details

    • key

      public final K key
    • value

      public final V value
  • Method Details

    • tuple

      public static <K,V> Tuple<K,V> tuple(K key, V value)
    • toString

      public String toString()
      Overrides:
      toString in class Object