类 KeyValuePair<K,V>

java.lang.Object
com.gdxsoft.easyweb.data.KeyValuePair<K,V>
类型参数:
K -
V -

public class KeyValuePair<K,V> extends Object
Key-Value Pair
作者:
admin
  • 构造器详细资料

    • KeyValuePair

      public KeyValuePair()
    • KeyValuePair

      public KeyValuePair(K key, V value)
  • 方法详细资料

    • setPair

      public void setPair(K key, V value)
    • getKey

      public K getKey()
      返回:
      the key
    • getValue

      public V getValue()
      返回:
      the value
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • setKey

      public void setKey(K key)
      参数:
      key - the key to set
    • setValue

      public void setValue(V value)
      参数:
      value - the value to set