|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Operator
Interface used to define an operator (like +, -, * ...)
Field Summary | |
---|---|
static java.lang.String |
OPERATOR_DIVIDE
|
static java.lang.String |
OPERATOR_MINUS
|
static java.lang.String |
OPERATOR_MULTIPLY
|
static java.lang.String |
OPERATOR_PLUS
|
static java.lang.String |
OPERATOR_POW
|
static java.lang.String |
OPERATOR_UNARY_MINUS
|
static java.lang.String |
OPERATOR_UNARY_PLUS
|
Method Summary | |
---|---|
java.lang.String |
getName()
Get the name of the operator. |
java.lang.String |
getSymbol()
Get the symbol associated to the operator (like +, -, AND ...). |
boolean |
isUnary()
Tell if operator is an unary operator. |
Field Detail |
---|
static final java.lang.String OPERATOR_DIVIDE
static final java.lang.String OPERATOR_MULTIPLY
static final java.lang.String OPERATOR_PLUS
static final java.lang.String OPERATOR_MINUS
static final java.lang.String OPERATOR_POW
static final java.lang.String OPERATOR_UNARY_PLUS
static final java.lang.String OPERATOR_UNARY_MINUS
Method Detail |
---|
boolean isUnary()
true
if operator is an unary operator, false
otherwise.java.lang.String getName()
java.lang.String getSymbol()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |