ptolemy.math
Interface LongBinaryOperation
- public interface LongBinaryOperation
A operation taking two operands of type long, and producing a value of
type long. This interface attempts to mimic a first-class function of two
variables.
- Since:
- Ptolemy II 1.0
- Version:
- $Id: LongBinaryOperation.java,v 1.13 2004/04/13 03:45:36 cxh Exp $
- Author:
- Jeff Tsay
- Accepted Rating:
- Proposed Rating:
|
Method Summary |
long |
operate(long leftOperand,
long rightOperand)
Operate on the operands, returning a value of the same
type. |
operate
public long operate(long leftOperand,
long rightOperand)
- Operate on the operands, returning a value of the same
type. Note that the operation need not be commutative.