|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rychlik.calculator.StackMachine.Print
public class StackMachine.Print
Print the top of the stack.
Constructor Summary | |
---|---|
StackMachine.Print()
|
Method Summary | |
---|---|
int |
arity()
Describe arity method here. |
void |
execute()
Describe execute method here. |
void |
write(java.io.PrintStream out)
Describe write method here. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StackMachine.Print()
Method Detail |
---|
public int arity()
arity
method here.
arity
in interface StackMachine.Instruction
int
valuepublic void execute() throws ParseException
execute
method here.
execute
in interface StackMachine.Instruction
ParseException
- if an error occurspublic void write(java.io.PrintStream out)
write
method here.
write
in interface StackMachine.Instruction
out
- a PrintStream
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |