public enum UnaryOperator extends Enum<UnaryOperator>
| Enum Constant and Description |
|---|
BITWISE_COMPLEMENT |
DELETE_PROPERTY |
LOGICAL_COMPLEMENT |
POSTFIX_DECREMENT |
POSTFIX_INCREMENT |
PREFIX_DECREMENT |
PREFIX_INCREMENT |
TYPEOF |
UNARY_MINUS |
UNARY_PLUS |
| Modifier and Type | Method and Description |
|---|---|
com.sun.source.tree.Tree.Kind |
getJava() |
int |
getJavaScript() |
boolean |
isPostfix() |
static UnaryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnaryOperator |
valueOf(com.sun.source.tree.Tree.Kind javaOperator) |
static UnaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnaryOperator POSTFIX_INCREMENT
public static final UnaryOperator POSTFIX_DECREMENT
public static final UnaryOperator PREFIX_INCREMENT
public static final UnaryOperator PREFIX_DECREMENT
public static final UnaryOperator UNARY_PLUS
public static final UnaryOperator UNARY_MINUS
public static final UnaryOperator BITWISE_COMPLEMENT
public static final UnaryOperator LOGICAL_COMPLEMENT
public static final UnaryOperator TYPEOF
public static final UnaryOperator DELETE_PROPERTY
public static UnaryOperator[] values()
for (UnaryOperator c : UnaryOperator.values()) System.out.println(c);
public static UnaryOperator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic boolean isPostfix()
public com.sun.source.tree.Tree.Kind getJava()
public int getJavaScript()
public static UnaryOperator valueOf(com.sun.source.tree.Tree.Kind javaOperator)
Copyright © 2015. All Rights Reserved.