|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.jdt.core.dom.PrefixExpression.Operator
Prefix operators (typesafe enumeration).
PrefixOperator:++
INCREMENT
--
DECREMENT
+
PLUS
-
MINUS
~
COMPLEMENT
!
NOT
Field Summary | |
static PrefixExpression.Operator |
COMPLEMENT
Bitwise complement "~" operator. |
static PrefixExpression.Operator |
DECREMENT
Prefix decrement "--" operator. |
static PrefixExpression.Operator |
INCREMENT
Prefix increment "++" operator. |
static PrefixExpression.Operator |
MINUS
Unary minus "-" operator. |
static PrefixExpression.Operator |
NOT
Logical complement "!" operator. |
static PrefixExpression.Operator |
PLUS
Unary plus "+" operator. |
Method Summary | |
static PrefixExpression.Operator |
toOperator(String token)
Returns the prefix operator corresponding to the given string, or null if none. |
String |
toString()
Returns the character sequence for the operator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final PrefixExpression.Operator INCREMENT
public static final PrefixExpression.Operator DECREMENT
public static final PrefixExpression.Operator PLUS
public static final PrefixExpression.Operator MINUS
public static final PrefixExpression.Operator COMPLEMENT
public static final PrefixExpression.Operator NOT
Method Detail |
public String toString()
toString
in class Object
public static PrefixExpression.Operator toOperator(String token)
null
if none.
toOperator
is the converse of toString
:
that is, Operator.toOperator(op.toString()) == op
for
all operators op
.
token
- the character sequence for the operator
null
if none
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |