Package gnu.mapping
Class PlainLocation<T>
- java.lang.Object
-
- gnu.mapping.Location<T>
-
- gnu.mapping.IndirectableLocation<T>
-
- gnu.mapping.NamedLocation<T>
-
- gnu.mapping.PlainLocation<T>
-
- All Implemented Interfaces:
EnvironmentKey
,Map.Entry<EnvironmentKey,T>
public class PlainLocation<T> extends NamedLocation<T>
-
-
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 PlainLocation(Symbol symbol, Object property)
PlainLocation(Symbol symbol, Object property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get()
Get the current value of this location.T
get(T defaultValue)
boolean
isBound()
void
set(T newValue)
-
Methods inherited from class gnu.mapping.NamedLocation
entered, equals, getEnvironment, 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
-
-