net.sf.jabb.util.bean
Class KeyValueBean<K,V>
java.lang.Object
net.sf.jabb.util.bean.DoubleValueBean<K,V>
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
KeyValueBean
public KeyValueBean()
KeyValueBean
public KeyValueBean(K v1,
V v2)
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.