|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rychlik.calculator.StackMachine.SymbolTableEntry
com.rychlik.calculator.StackMachine.Variable
public class StackMachine.Variable
Describe class Variable
here.
Field Summary | |
---|---|
int |
address
Describe variable address here. |
Constructor Summary | |
---|---|
StackMachine.Variable(java.lang.String name,
int address)
Creates a new Variable instance. |
Method Summary | |
---|---|
int |
getAddress()
Describe getAddress method here. |
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 |
---|
public final int address
address
here.
Constructor Detail |
---|
public StackMachine.Variable(java.lang.String name, int address)
Variable
instance.
name
- a String
valueaddress
- an int
valueMethod Detail |
---|
public int getAddress()
getAddress
method here.
int
valuepublic double getValue() throws ParseException
getValue
method here.
double
value
ParseException
- if an error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |