| java.lang.Object gnu.mapping.PropertySet gnu.mapping.Environment gnu.mapping.SimpleEnvironment
All known Subclasses: gnu.mapping.InheritingEnvironment,
SimpleEnvironment | public class SimpleEnvironment extends Environment (Code) | | Concrete implementation of Environment .
(Should consider merging this code with Table2D.)
|
Method Summary | |
public NamedLocation | addLocation(Symbol name, Object property, Location loc) | NamedLocation | addLocation(Symbol name, Object property, int hash, Location loc) | protected NamedLocation | addUnboundLocation(Symbol name, Object property, int hash) | public NamedLocation | define(Symbol sym, Object property, int hash, Object newValue) | public void | define(Symbol sym, Object property, Object newValue) | public java.util.Set | entrySet() | public LocationEnumeration | enumerateAllLocations() Does enumerate inherited Locations. | public LocationEnumeration | enumerateLocations() Does not enumerate inherited Locations. | public static Location | getCurrentLocation(String name) | public synchronized NamedLocation | getLocation(Symbol name, Object property, int hash, boolean create) | protected boolean | hasMoreElements(LocationEnumeration it) | public NamedLocation | lookup(Symbol name, Object property, int hash) | public NamedLocation | lookupDirect(Symbol name, Object property, int hash) | public static Object | lookup_global(Symbol name) | NamedLocation | newEntry(Symbol name, Object property, int index) | NamedLocation | newLocation(Symbol name, Object property) | public void | put(Symbol key, Object property, Object newValue) | public void | readExternal(ObjectInput in) | public Object | readResolve() | protected void | redefineError(Symbol name, Object property, Location loc) | void | rehash() | public int | size() Size does not include inherited Locations. | protected void | toStringBase(StringBuffer sbuf) | public String | toStringVerbose() | public Location | unlink(Symbol symbol, Object property, int hash) | public void | writeExternal(ObjectOutput out) |
currentTimestamp | int currentTimestamp(Code) | | |
num_bindings | int num_bindings(Code) | | Doesn't count inherited bindings.
|
sharedTail | NamedLocation sharedTail(Code) | | A special "end-of-list" value added for the sake of getEnvironment.
|
SimpleEnvironment | public SimpleEnvironment()(Code) | | |
SimpleEnvironment | public SimpleEnvironment(String name)(Code) | | |
SimpleEnvironment | public SimpleEnvironment(int capacity)(Code) | | |
size | public int size()(Code) | | Size does not include inherited Locations.
|
Methods inherited from gnu.mapping.Environment | final public void addLocation(NamedLocation loc)(Code)(Java Doc) abstract public NamedLocation addLocation(Symbol name, Object prop, Location loc)(Code)(Java Doc) final public void addLocation(EnvironmentKey key, Location loc)(Code)(Java Doc) final public boolean containsKey(Object key)(Code)(Java Doc) public static Environment current()(Code)(Java Doc) public Namespace defaultNamespace()(Code)(Java Doc) abstract public void define(Symbol key, Object property, Object newValue)(Code)(Java Doc) abstract public LocationEnumeration enumerateAllLocations()(Code)(Java Doc) abstract public LocationEnumeration enumerateLocations()(Code)(Java Doc) public Object get(Symbol key, Object property, Object defaultValue)(Code)(Java Doc) final public Object get(EnvironmentKey key, Object defaultValue)(Code)(Java Doc) final public Object get(String key, Object defaultValue)(Code)(Java Doc) public Object get(Symbol sym)(Code)(Java Doc) final public Object get(Object key)(Code)(Java Doc) public boolean getCanDefine()(Code)(Java Doc) public boolean getCanRedefine()(Code)(Java Doc) final public Object getChecked(String name)(Code)(Java Doc) public static Environment getCurrent()(Code)(Java Doc) public int getFlags()(Code)(Java Doc) final public Object getFunction(Symbol key, Object defaultValue)(Code)(Java Doc) final public Object getFunction(Symbol sym)(Code)(Java Doc) public static Environment getGlobal()(Code)(Java Doc) public static Environment getInstance(String name)(Code)(Java Doc) final public Location getLocation(Symbol key, Object property)(Code)(Java Doc) final public Location getLocation(Symbol key)(Code)(Java Doc) abstract public NamedLocation getLocation(Symbol key, Object property, int hash, boolean create)(Code)(Java Doc) final public NamedLocation getLocation(Symbol name, Object property, boolean create)(Code)(Java Doc) final public Location getLocation(Object key, boolean create)(Code)(Java Doc) public Symbol getSymbol(String name)(Code)(Java Doc) abstract protected boolean hasMoreElements(LocationEnumeration it)(Code)(Java Doc) public boolean isBound(Symbol key, Object property)(Code)(Java Doc) final public boolean isBound(Symbol key)(Code)(Java Doc) final public boolean isLocked()(Code)(Java Doc) final public Location lookup(Symbol key, Object property)(Code)(Java Doc) abstract public NamedLocation lookup(Symbol name, Object property, int hash)(Code)(Java Doc) final public Location lookup(Symbol key)(Code)(Java Doc) public static SimpleEnvironment make()(Code)(Java Doc) public static SimpleEnvironment make(String name)(Code)(Java Doc) public static InheritingEnvironment make(String name, Environment parent)(Code)(Java Doc) public void put(Symbol key, Object property, Object newValue)(Code)(Java Doc) final public void put(Symbol key, Object newValue)(Code)(Java Doc) final public Object put(Object key, Object newValue)(Code)(Java Doc) final public Object put(String key, Object value)(Code)(Java Doc) final public void putFunction(Symbol key, Object newValue)(Code)(Java Doc) public Object remove(Symbol key, Object property, int hash)(Code)(Java Doc) final public Object remove(EnvironmentKey key)(Code)(Java Doc) final public Object remove(Symbol symbol, Object property)(Code)(Java Doc) final public void remove(Symbol sym)(Code)(Java Doc) final public Object remove(Object key)(Code)(Java Doc) final public void removeFunction(Symbol sym)(Code)(Java Doc) public void setCanDefine(boolean canDefine)(Code)(Java Doc) public void setCanRedefine(boolean canRedefine)(Code)(Java Doc) public static void setCurrent(Environment env)(Code)(Java Doc) public void setFlag(boolean setting, int flag)(Code)(Java Doc) public static void setGlobal(Environment env)(Code)(Java Doc) final public void setIndirectDefines()(Code)(Java Doc) public void setLocked()(Code)(Java Doc) public String toString()(Code)(Java Doc) public String toStringVerbose()(Code)(Java Doc) public Location unlink(Symbol key, Object property, int hash)(Code)(Java Doc) public static Environment user()(Code)(Java Doc)
|
|
|