|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.bcit.cst.comp2526.assign2b.solution.AbstractOperation
ca.bcit.cst.comp2526.assign2b.solution.SubtractionOperation
public class SubtractionOperation
Abstract the subtraction of two numbers.
| Constructor Summary | |
|---|---|
SubtractionOperation()
Construct an SubtractionOperation. |
|
| Method Summary | |
|---|---|
int |
perform(int operandA,
int operandB)
Subtract operandA from operandB. |
| Methods inherited from class ca.bcit.cst.comp2526.assign2b.solution.AbstractOperation |
|---|
getCode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubtractionOperation()
| Method Detail |
|---|
public int perform(int operandA,
int operandB)
operandA - the minuend.operandB - the subtrahend.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||