Package ptolemy.math
Interface IntegerBinaryOperation
-
- All Known Implementing Classes:
TestIntegerBinaryOperation
public interface IntegerBinaryOperation
A operation taking two operands of type int, and producing a value of type int. This interface attempts to mimic a first-class function of two variables.- Since:
- Ptolemy II 1.0
- Version:
- $Id$
- Author:
- Jeff Tsay
- Pt.AcceptedRating:
- Red (ctsay)
- Pt.ProposedRating:
- Red (ctsay)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
operate(int leftOperand, int rightOperand)
Operate on the operands, returning a value of the same type.
-