|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Operator
| Method Summary | |
|---|---|
Object |
evaluate(Object arg)
Returns the value for the specified argument. |
Object |
evaluate(Object arg1,
Object arg2)
Returns the value for the specified arguments. |
int |
getPrecedence()
Returns the precedence of this operator. |
String |
getSymbol()
Returns the symbol. |
boolean |
isRightAssociative()
Determins whether the operator is right associative. |
boolean |
isUnary()
Determins whether the operator is unary or binary. |
| Method Detail |
|---|
String getSymbol()
boolean isUnary()
boolean isRightAssociative()
int getPrecedence()
Object evaluate(Object arg)
arg - the operator argument
Object evaluate(Object arg1,
Object arg2)
arg1 - the operator argumentarg2 - the operator argument
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||