EDU.ksu.cis.calculator.javamodel
Class Push

java.lang.Object
  |
  +--EDU.ksu.cis.calculator.javamodel.Push
All Implemented Interfaces:
Operation

public class Push
extends Object
implements Operation

The push operation. Objects of this class are used to encapsulate a push request.

Author:
Rod Howell (howell@cis.ksu.edu)

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

Constructor Detail

Push

public Push()
Method Detail

numOperands

public int numOperands()
Returns 1.

Specified by:
numOperands in interface Operation