org.geotools.util
Class KVP
Object
AbstractMap<K,V>
HashMap<K,V>
LinkedHashMap<String,Object>
KVP
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Object>
public class KVP
- extends LinkedHashMap<String,Object>
A linked HashMap set up for easy construction.
Example: KVP map = new KVP("foo",1,"bar,2);
- Author:
- jody
- See Also:
- Serialized Form
Constructor Summary |
KVP(Object... pairs)
A linked HashMap set up for easy construction. |
Method Summary |
void |
add(String key,
Object value)
An additive version of put; will add additional values resulting
in a list. |
Methods inherited from interface Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
KVP
public KVP(Object... pairs)
- A linked HashMap set up for easy construction.
Example: KVP map = new KVP("foo",1,"bar,2);
- Parameters:
pairs
-
add
public void add(String key,
Object value)
- An additive version of put; will add additional values resulting
in a list.
- Parameters:
key
- value
-
Copyright © 1996-2014 Geotools. All Rights Reserved.