com.rychlik.calculator
Class StackMachine.MathFunction

java.lang.Object
  extended by com.rychlik.calculator.StackMachine.MathFunction
All Implemented Interfaces:
StackMachine.Instruction, java.io.Serializable
Direct Known Subclasses:
StackMachine.BinaryMathFunction, StackMachine.TernaryMathFunction, StackMachine.UnaryMathFunction
Enclosing class:
StackMachine

public abstract class StackMachine.MathFunction
extends java.lang.Object
implements StackMachine.Instruction, java.io.Serializable

Describe class MathFunction here.

See Also:
Serialized Form

Constructor Summary
StackMachine.MathFunction()
           
 
Method Summary
abstract  java.lang.String getName()
          Describe getName 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
 
Methods inherited from interface com.rychlik.calculator.StackMachine.Instruction
arity, execute
 

Constructor Detail

StackMachine.MathFunction

public StackMachine.MathFunction()
Method Detail

write

public void write(java.io.PrintStream out)
Describe write method here.

Specified by:
write in interface StackMachine.Instruction
Parameters:
out - a PrintStream value

getName

public abstract java.lang.String getName()
Describe getName method here.

Returns:
a String value