/** An instance of this class represents the binary multiply operator on two ** operands representing int values. ** ** @author R. McCloskey ** @version October 2008 */ public class MultiplyOperator implements BinaryOperator { public int apply(Operand x, Operand y) { return x.getValue() * y.getValue(); } }