EDU.ksu.cis.calculator.defaultmodel
Class Push
java.lang.Object
|
+--EDU.ksu.cis.calculator.defaultmodel.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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Push
public Push()
numOperands
public int numOperands()
- Returns 1.
- Specified by:
numOperands
in interface Operation