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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
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
-
Methods inherited from class HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Methods inherited from class AbstractMap
equals, hashCode, toString
-
Methods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-