| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.expression4j.basic.impl.GenericOperator
public class GenericOperator
| Field Summary | 
|---|
| Fields inherited from interface fr.expression4j.basic.Operator | 
|---|
| OPERATOR_DIVIDE, OPERATOR_MINUS, OPERATOR_MULTIPLY, OPERATOR_PLUS, OPERATOR_POW, OPERATOR_UNARY_MINUS, OPERATOR_UNARY_PLUS | 
| Constructor Summary | |
|---|---|
| GenericOperator(java.lang.String name,
                java.lang.String symbol,
                boolean isUnary) | |
| 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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public GenericOperator(java.lang.String name,
                       java.lang.String symbol,
                       boolean isUnary)
| Method Detail | 
|---|
public boolean isUnary()
Operator
isUnary in interface Operatortrue if operator is an unary operator, false otherwise.public java.lang.String getName()
Operator
getName in interface Operatorpublic java.lang.String getSymbol()
Operator
getSymbol in interface Operator| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||