Class infixModel.MulOp
- public class MulOp
- extends Object
- implements infixModel.IBinOp
Operation represents the multiply operation
Copyright (C) 2004 Dung X. Nguyen. All rights Reserved.

Singleton

MulOp
()

compute
(double, double)
- Peform n1 * n2, and return the result

Singleton
public static final MulOp Singleton = new MulOp()

MulOp
private MulOp()

compute
public double compute(double n1, double n2)
- Peform n1 * n2, and return the result.
- Parameters:
- n1 - A floating point number
- n2 - A floating point number
- Returns:
- The product of n1 and n2