Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

exptree.utilities
Class variablePackage  view variablePackage download variablePackage.java

java.lang.Object
  extended byexptree.utilities.variablePackage
All Implemented Interfaces:
java.io.Serializable

public class variablePackage
extends java.lang.Object
implements java.io.Serializable

Keeps a list of variables available for use in an expressionTree. To Do: put variables in a HashTable and allow the definition of variables.

Version:
1.1 08/19/2000

Field Summary
(package private)  exptree.variable[] vars
          Stores the variables.
 
Constructor Summary
variablePackage()
          Creates instances for each variable in the package.
 
Method Summary
 exptree.variable getVariable(java.lang.String which)
          Returns a variable by its name.
 exptree.variable[] getVariables()
          Returns the variables available for use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vars

exptree.variable[] vars
Stores the variables.

Constructor Detail

variablePackage

public variablePackage()
Creates instances for each variable in the package.

Method Detail

getVariables

public exptree.variable[] getVariables()
Returns the variables available for use.


getVariable

public exptree.variable getVariable(java.lang.String which)
Returns a variable by its name.