|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Operation
Abstracton for mathmatical operations.
| Method Summary | |
|---|---|
char |
getCode()
Get the type of operation (eg. |
int |
perform(int operandA,
int operandB)
Perform the operation on the supplied operands. |
| Method Detail |
|---|
char getCode()
int perform(int operandA,
int operandB)
operandA - the first operand.operandB - the second operand.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||