gnu.mapping
Class ConstrainedLocation
public class ConstrainedLocation
entered , get , get , getBase , getKeyProperty , getKeySymbol , getValue , isBound , isConstant , make , make , make , print , set , setRestore , setValue , setWithSave , toString , undefine |
coerce
protected Object coerce(Object newValue)
get
public final Object get(Object defaultValue)
- get in interface Location
set
public final void set(Object newValue)
- set in interface Location
setRestore
public void setRestore(Object oldValue,
CallContext ctx)
Restore an old value.
- setRestore in interface Location
oldValue
- the return value from a prior setWithSave.
setWithSave
public Object setWithSave(Object newValue,
CallContext ctx)
Set a value, but return cookie so old value can be restored.
This is intended for fluid-let where (in the case of multiple threads)
a simple save-restore isn't always the right thing.
- setWithSave in interface Location