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)

Constructor Summary
ClearStack()
           
 
Method Summary
 int numOperands()
          Returns 0.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearStack

public ClearStack()
Method Detail

numOperands

public int numOperands()
Returns 0.

Specified by:
numOperands in interface Operation