Package 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
Constructors Constructor Description KVP(Object... pairs)
A linked HashMap set up for easy construction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(String key, Object value)
An additive version of put; will add additional values resulting in a list.-
Methods inherited from class LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
-