Package gnu.expr
Class AbstractScriptEngineFactory.BindingsLocation
- java.lang.Object
-
- gnu.mapping.Location<T>
-
- gnu.mapping.IndirectableLocation<T>
-
- gnu.mapping.NamedLocation<Object>
-
- gnu.expr.AbstractScriptEngineFactory.BindingsLocation
-
- All Implemented Interfaces:
EnvironmentKey
,Map.Entry<EnvironmentKey,Object>
- Enclosing class:
- AbstractScriptEngineFactory
public static class AbstractScriptEngineFactory.BindingsLocation extends NamedLocation<Object>
A Location object that proxies lookup in global and engine Bindings.
-
-
Field Summary
-
Fields inherited from class gnu.mapping.IndirectableLocation
base, DIRECT_ON_SET, INDIRECT_FLUIDS, value
-
Fields inherited from interface gnu.mapping.EnvironmentKey
FUNCTION
-
-
Constructor Summary
Constructors Constructor Description BindingsLocation(SimpleSymbol name, AbstractScriptEngineFactory.BindingsEnvironment env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get()
Get the current value of this location.Object
get(Object defaultValue)
Environment
getEnvironment()
boolean
isBound()
void
set(Object newValue)
-
Methods inherited from class gnu.mapping.NamedLocation
entered, equals, getKey, getKeyProperty, getKeySymbol, hashCode, matches, matches, setRestore, setWithSave
-
Methods inherited from class gnu.mapping.IndirectableLocation
getBase, getBaseForce, isConstant, setAlias, setBase, undefine
-
Methods inherited from class gnu.mapping.Location
define, getValue, make, make, make, print, setValue, toString
-
-
-
-
Constructor Detail
-
BindingsLocation
public BindingsLocation(SimpleSymbol name, AbstractScriptEngineFactory.BindingsEnvironment env)
-
-
Method Detail
-
get
public Object get()
Description copied from class:Location
Get the current value of this location.
-
getEnvironment
public Environment getEnvironment()
- Overrides:
getEnvironment
in classNamedLocation<Object>
-
-