ptolemy.math
Interface LongUnaryOperation
public interface LongUnaryOperation
A operation taking one argument of type long, and producing a value of
type long. This interface attempts to mimic a first-class function of
a single variable.
- Since:
- Ptolemy II 1.0
- Version:
- $Id: LongUnaryOperation.java 43782 2006-09-21 15:10:05Z cxh $
- Author:
- Jeff Tsay
- Accepted Rating:
- Proposed Rating:
Method Summary |
long |
operate(long operand)
Operate on the operand, returning a value of the same type. |
operate
long operate(long operand)
- Operate on the operand, returning a value of the same type.
- Parameters:
operand
- The operand.
- Returns:
- The results of the operation.