public class HashMapContext extends HashMap<String,Object> implements JexlContext
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
HashMapContext() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getVars()
Retrives the Map of variables associated with this JexlContext.
|
void |
setVars(Map<String,Object> vars)
Replaces variables in a JexlContext with the variables contained
in the supplied Map.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public void setVars(Map<String,Object> vars)
setVars
in interface JexlContext
vars
- Contents of vars will be replaced with the content
of this Mappublic Map<String,Object> getVars()
getVars
in interface JexlContext
Copyright © 2022. All rights reserved.