Math 302, Differential Equations JHU


com.rychlik.calculator
Class StackMachine.Constant

java.lang.Object
  |
  +--com.rychlik.calculator.StackMachine.SymbolTableEntry
        |
        +--com.rychlik.calculator.StackMachine.Constant
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
StackMachine

public class StackMachine.Constant
extends StackMachine.SymbolTableEntry

Describe class Constant here.

See Also:
Serialized Form

Field Summary
 double value
          Describe variable value here.
 
Constructor Summary
StackMachine.Constant(java.lang.String name, double value)
          Creates a new Constant instance.
 
Method Summary
 double getValue()
          Describe getValue method here.
 
Methods inherited from class com.rychlik.calculator.StackMachine.SymbolTableEntry
getName, rename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public final double value
Describe variable value here.

Constructor Detail

StackMachine.Constant

public StackMachine.Constant(java.lang.String name,
                             double value)
Creates a new Constant instance.

Parameters:
name - a String value
value - a double value
Method Detail

getValue

public double getValue()
Describe getValue method here.

Returns:
a double value



This page last modified Sun Sep 12 12:29:41 2004
Questions? Comments? Please send feedback to jason howald