Class InitialEnvironment

java.lang.Object
  extended by InitialEnvironment
All Implemented Interfaces:
Environment

public class InitialEnvironment
extends java.lang.Object
implements Environment

This is the outermost environment, containing predefined names. The names +, -, *, /, %, =, !=, <, >, <=, and >= are associated with corresponding functions.


Constructor Summary
InitialEnvironment()
           
 
Method Summary
 java.lang.Object get(java.lang.String name)
          Return the value corresponding to the specified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitialEnvironment

public InitialEnvironment()
Method Detail

get

public java.lang.Object get(java.lang.String name)
Description copied from interface: Environment
Return the value corresponding to the specified name.

Specified by:
get in interface Environment
Parameters:
name - the name to look up
Returns:
the value associated with the name