| Constructor and Description |
|---|
ScopedMap(Map<String,Object> rawModel)
Creates a new scoped map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
void |
enterScope()
Creates a new local scope and sets it as the current one.
|
Set<Map.Entry<String,Object>> |
entrySet() |
void |
exitScope()
Discards the current local scope.
|
Object |
get(Object key) |
Map<String,Object> |
getRawModel()
Gets the raw model backing this scoped map
|
boolean |
isEmpty() |
boolean |
isLocal(String variable)
Checks if a given variable is local.
|
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,? extends Object> m) |
Object |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<Object> |
values() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic boolean containsKey(Object key)
containsKey in interface Map<String,Object>public boolean containsValue(Object value)
containsValue in interface Map<String,Object>public Map<String,Object> getRawModel()
public boolean isLocal(String variable)
public void enterScope()
public void exitScope()
Copyright © 2017. All rights reserved.