| Modifier and Type | Field and Description |
|---|---|
static UnaryOperator |
ADDRESS_OF
&
|
static UnaryOperator |
BITWISE_COMPLEMENT
~
|
static UnaryOperator |
DEREFERENCE
*
|
static UnaryOperator |
LOGICAL_NEGATION
!
|
static UnaryOperator |
MINUS
-
|
static UnaryOperator |
PLUS
+
|
static UnaryOperator |
POST_DECREMENT
--
|
static UnaryOperator |
POST_INCREMENT
++
|
static UnaryOperator |
PRE_DECREMENT
--
|
static UnaryOperator |
PRE_INCREMENT
++
|
| Modifier and Type | Method and Description |
|---|---|
static UnaryOperator |
fromString(java.lang.String s)
Creates a unary operator from the specified string.
|
static boolean |
hasSideEffects(UnaryOperator op)
Checks if the specified operator implies a side effect.
|
void |
print(java.io.PrintWriter o)
Prints the operator on the specifier print writer.
|
java.lang.String |
toString()
Returns a string representation of the operator.
|
void |
verify()
Verifies this operator is valid.
|
public static final UnaryOperator ADDRESS_OF
public static final UnaryOperator BITWISE_COMPLEMENT
public static final UnaryOperator DEREFERENCE
public static final UnaryOperator LOGICAL_NEGATION
public static final UnaryOperator MINUS
public static final UnaryOperator PLUS
public static final UnaryOperator POST_DECREMENT
public static final UnaryOperator POST_INCREMENT
public static final UnaryOperator PRE_DECREMENT
public static final UnaryOperator PRE_INCREMENT
public static UnaryOperator fromString(java.lang.String s)
public static boolean hasSideEffects(UnaryOperator op)
public void print(java.io.PrintWriter o)
public java.lang.String toString()
toString in class java.lang.Objectpublic void verify()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if the operator is invalid.