public interface IlrBinaryOperator
extends java.io.Serializable
evaluate method can be used to perform the binary
operation.IlrBinaryValue| Modifier and Type | Field and Description |
|---|---|
static int |
ADD
This integer constant represents an addition.
|
static int |
DIVIDE
This integer constant represents a division.
|
static int |
MAX
This integer constant represents a maximum.
|
static int |
MIN
This integer constant represents a minimum.
|
static int |
MULTIPLY
This integer constant represents a multiplication.
|
static int |
REMAINDER
This integer constant represents the remainder of a division.
|
static int |
SUBTRACT
This integer constant represents a subtraction.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
evaluate(java.lang.Object arg1,
java.lang.Object arg2)
Performs the binary operation.
|
int |
getKind()
Gets the kind of the binary operation.
|
java.lang.Class |
getResultType()
Gets the result type of the binary operation.
|
static final int ADD
static final int SUBTRACT
static final int MULTIPLY
static final int DIVIDE
static final int REMAINDER
static final int MAX
static final int MIN
java.lang.Class getResultType()
null.int getKind()
java.lang.Object evaluate(java.lang.Object arg1,
java.lang.Object arg2)
arg1 - The first argument of the operation.arg2 - The second argument of the operation.© Copyright IBM Corp. 1987, 2017