gnu.mapping
public class SimpleEnvironment extends Environment
Environment
.
(Should consider merging this code with Table2D.)
Constructor Summary | |
---|---|
SimpleEnvironment() | |
SimpleEnvironment(String name) | |
SimpleEnvironment(int capacity) |
Method Summary | |
---|---|
NamedLocation | addLocation(Symbol name, Object property, Location loc) |
protected NamedLocation | addUnboundLocation(Symbol name, Object property, int hash) |
NamedLocation | define(Symbol sym, Object property, int hash, Object newValue) |
void | define(Symbol sym, Object property, Object newValue) |
Set | entrySet() |
LocationEnumeration | enumerateAllLocations() Does enumerate inherited Locations. |
LocationEnumeration | enumerateLocations() Does not enumerate inherited Locations. |
static Location | getCurrentLocation(String name) |
NamedLocation | getLocation(Symbol name, Object property, int hash, boolean create) |
protected boolean | hasMoreElements(LocationEnumeration it) |
NamedLocation | lookup(Symbol name, Object property, int hash) |
NamedLocation | lookupDirect(Symbol name, Object property, int hash) |
static Object | lookup_global(Symbol name) |
void | put(Symbol key, Object property, Object newValue) |
void | readExternal(ObjectInput in) |
Object | readResolve() |
protected void | redefineError(Symbol name, Object property, Location loc) |
int | size() Size does not include inherited Locations. |
protected void | toStringBase(StringBuffer sbuf) |
String | toStringVerbose() |
Location | unlink(Symbol symbol, Object property, int hash) |
void | writeExternal(ObjectOutput out) |