K
- the key type.V
- the value type.public class KeyValueVO<K,V> extends Object implements Serializable
ListKeyValuePropertyType
,
Serialized FormConstructor and Description |
---|
KeyValueVO(K key,
V value)
Returns a object initialized with key(K) and value (V).
|
public KeyValueVO(K key, V value) throws NullPointerException
key
- the key type instance.value
- the value type instanceNullPointerException
- if either key
or value
is null
.