Class Pair<K,V>

java.lang.Object
org.openremote.model.util.Pair<K,V>
All Implemented Interfaces:
Serializable

public class Pair<K,V> extends Object implements Serializable
See Also:
  • Field Details

    • key

      public K key
    • value

      public V value
  • Constructor Details

    • Pair

      public Pair(K key, V value)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getKey

      public K getKey()
    • getValue

      public V getValue()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object