public interface IlrUnaryOperator
extends java.io.Serializable
evaluate method can be used to perform the unary
operation.IlrUnaryValue,
IlrCastValue| Modifier and Type | Field and Description |
|---|---|
static int |
CAST
This integer constant represents a type cast.
|
static int |
NEGATIVE
This integer constant represents the application of the
-
operator to an expression. |
static int |
NOT
This integer constant represents the application of the
!
operator to a boolean expression. |
static int |
POSITIVE
This integer constant represents the application of the
+
operator to an expression. |
static int |
POSTFIX_DECR
This integer constant represents a postfixed decrement operator.
|
static int |
POSTFIX_INCR
This integer constant represents a postfixed increment operator.
|
static int |
PREFIX_DECR
This integer constant represents a prefixed decrement operator.
|
static int |
PREFIX_INCR
This integer constant represents a prefixed increment operator.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
evaluate(java.lang.Object arg)
Performs the unary operation.
|
int |
getKind()
Gets the kind of the unary operation.
|
java.lang.Class |
getResultType()
Gets the result type of the unary operation.
|
static final int POSITIVE
+
operator to an expression.static final int NEGATIVE
-
operator to an expression.static final int NOT
!
operator to a boolean expression.static final int CAST
static final int PREFIX_INCR
static final int PREFIX_DECR
static final int POSTFIX_INCR
static final int POSTFIX_DECR
java.lang.Class getResultType()
null.int getKind()
java.lang.Object evaluate(java.lang.Object arg)
arg - The argument of the operation.© Copyright IBM Corp. 1987, 2017