gnu.mapping

Class NamedLocation

public abstract class NamedLocation extends IndirectableLocation implements Entry, EnvironmentKey

A Location that can be used as an entry in an Environment.
Constructor Summary
NamedLocation(NamedLocation loc)
NamedLocation(Symbol name, Object property)
Method Summary
booleanentered()
booleanequals(Object x)
EnvironmentgetEnvironment()
ObjectgetKey()
ObjectgetKeyProperty()
SymbolgetKeySymbol()
inthashCode()
booleanmatches(EnvironmentKey key)
booleanmatches(Symbol symbol, Object property)
voidsetRestore(Object oldValue, CallContext ctx)
ObjectsetWithSave(Object newValue, CallContext ctx)

Constructor Detail

NamedLocation

public NamedLocation(NamedLocation loc)

NamedLocation

public NamedLocation(Symbol name, Object property)

Method Detail

entered

public boolean entered()

equals

public boolean equals(Object x)

getEnvironment

public Environment getEnvironment()

getKey

public final Object getKey()

getKeyProperty

public final Object getKeyProperty()

getKeySymbol

public final Symbol getKeySymbol()

hashCode

public int hashCode()

matches

public final boolean matches(EnvironmentKey key)

matches

public final boolean matches(Symbol symbol, Object property)

setRestore

public void setRestore(Object oldValue, CallContext ctx)

setWithSave

public Object setWithSave(Object newValue, CallContext ctx)