EDU.ksu.cis.calculator.defaultmodel
Class ClearStack
java.lang.Object
|
+--EDU.ksu.cis.calculator.defaultmodel.ClearStack
- All Implemented Interfaces:
- Operation
- public class ClearStack
- extends Object
- implements Operation
The clear stack operation. Objects of this class are used to
encapsulate a clear stack request.
- Author:
- Rod Howell
(howell@cis.ksu.edu)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClearStack
public ClearStack()
numOperands
public int numOperands()
- Returns 0.
- Specified by:
numOperands
in interface Operation