Package dap4.core.util
Class DapContext
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<Object,Object>
-
- dap4.core.util.DapContext
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,Object>
public class DapContext extends HashMap<Object,Object>
Provide a general map of Object->Object to serve to pass context/env info into various classes. Note that we cannot use e.g. java.util.Properties because it is a String->String map.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description DapContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DapContext
insert(Map<String,String> map, boolean override)
String
toString()
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
-
-
-
Method Detail
-
insert
public DapContext insert(Map<String,String> map, boolean override)
-
toString
public String toString()
- Overrides:
toString
in classAbstractMap<Object,Object>
-
-