net.sf.jabb.util.bean
Class KeyValueBean<K,V>

java.lang.Object
  extended by net.sf.jabb.util.bean.DoubleValueBean<K,V>
      extended by net.sf.jabb.util.bean.KeyValueBean<K,V>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
StringKeyValueBean

public class KeyValueBean<K,V>
extends DoubleValueBean<K,V>
implements Serializable

Author:
Zhengmao Hu a bean with two properties: key and value
See Also:
Serialized Form

Constructor Summary
KeyValueBean()
           
KeyValueBean(K v1, V v2)
           
 
Method Summary
 K getKey()
           
 V getValue()
           
 void setKey(K key)
           
 void setValue(V value)
           
 
Methods inherited from class net.sf.jabb.util.bean.DoubleValueBean
getValue1, getValue2, setValue1, setValue2, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyValueBean

public KeyValueBean()

KeyValueBean

public KeyValueBean(K v1,
                    V v2)
Method Detail

getKey

public K getKey()

getValue

public V getValue()

setKey

public void setKey(K key)

setValue

public void setValue(V value)


Copyright © 2012. All Rights Reserved.