|
|||||||||
| 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.DivisionOperation
public class DivisionOperation
Abstract the division of two numbers.
| Constructor Summary | |
|---|---|
DivisionOperation()
Construct an DivisionOperation. |
|
| Method Summary | |
|---|---|
int |
perform(int operandA,
int operandB)
Divide operandA by 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 DivisionOperation()
| Method Detail |
|---|
public int perform(int operandA,
int operandB)
operandA - the dividend.operandB - the divisor.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||