public static class PostfixExpression.Operator
extends java.lang.Object
PostfixOperator:
++ INCREMENT
-- DECREMENT
| Modifier and Type | Field and Description |
|---|---|
static PostfixExpression.Operator |
DECREMENT
Postfix decrement "--" operator.
|
static PostfixExpression.Operator |
INCREMENT
Postfix increment "++" operator.
|
| Modifier and Type | Method and Description |
|---|---|
static PostfixExpression.Operator |
toOperator(java.lang.String token)
Returns the postfix operator corresponding to the given string,
or
null if none. |
java.lang.String |
toString()
Returns the character sequence for the operator.
|
public static final PostfixExpression.Operator INCREMENT
public static final PostfixExpression.Operator DECREMENT
public java.lang.String toString()
toString in class java.lang.Objectpublic static PostfixExpression.Operator toOperator(java.lang.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 operatornull if noneCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.