Class KeyValuePair<K,V>

java.lang.Object
org.jruby.util.KeyValuePair<K,V>
Type Parameters:
K - key
V - value

public class KeyValuePair<K,V> extends Object
Simple key-value pair object.
  • Constructor Details

    • KeyValuePair

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

    • getKey

      public K getKey()
    • getValue

      public V getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Object