public class SymbolTableToBindingsAdapter
extends java.lang.Object
implements javax.script.Bindings
Constructor and Description |
---|
SymbolTableToBindingsAdapter(MutableSymbolTable symbolTable) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> |
entrySet() |
java.lang.Object |
get(java.lang.Object key) |
MutableSymbolTable |
getSymbolTable() |
boolean |
isEmpty() |
java.util.Set<java.lang.String> |
keySet() |
java.lang.Object |
put(java.lang.String name,
java.lang.Object value) |
void |
putAll(java.util.Map<? extends java.lang.String,? extends java.lang.Object> toMerge) |
java.lang.Object |
remove(java.lang.Object key) |
int |
size() |
java.util.Collection<java.lang.Object> |
values() |
public SymbolTableToBindingsAdapter(MutableSymbolTable symbolTable)
public MutableSymbolTable getSymbolTable()
public java.lang.Object put(java.lang.String name, java.lang.Object value)
put
in interface java.util.Map<java.lang.String,java.lang.Object>
put
in interface javax.script.Bindings
public void putAll(java.util.Map<? extends java.lang.String,? extends java.lang.Object> toMerge)
putAll
in interface java.util.Map<java.lang.String,java.lang.Object>
putAll
in interface javax.script.Bindings
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map<java.lang.String,java.lang.Object>
containsKey
in interface javax.script.Bindings
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map<java.lang.String,java.lang.Object>
get
in interface javax.script.Bindings
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map<java.lang.String,java.lang.Object>
remove
in interface javax.script.Bindings
public int size()
size
in interface java.util.Map<java.lang.String,java.lang.Object>
public boolean isEmpty()
isEmpty
in interface java.util.Map<java.lang.String,java.lang.Object>
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map<java.lang.String,java.lang.Object>
public void clear()
clear
in interface java.util.Map<java.lang.String,java.lang.Object>
public java.util.Set<java.lang.String> keySet()
keySet
in interface java.util.Map<java.lang.String,java.lang.Object>
public java.util.Collection<java.lang.Object> values()
values
in interface java.util.Map<java.lang.String,java.lang.Object>
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> entrySet()
entrySet
in interface java.util.Map<java.lang.String,java.lang.Object>