|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Operator
Interface for mathematical operators.
An operator is a special infix (in the case of binary or greater arity) or prefix (in the case of unary) symbol which maps to a particular function.
| Nested Class Summary | |
|---|---|
static class |
Operator.Associativity
|
| Method Summary | |
|---|---|
Operator.Associativity |
getAssociativity()
|
double |
getPrecedence()
|
boolean |
isInfix()
True iff the operator is an infix operator (e.g., a-b). |
boolean |
isLeftAssociative()
|
boolean |
isPostfix()
True iff the operator is a postfix operator (e.g., a'). |
boolean |
isPrefix()
True iff the operator is a prefix operator (e.g., -a). |
boolean |
isRightAssociative()
|
| Methods inherited from interface org.scijava.sjep.Verb |
|---|
getArity |
| Methods inherited from interface org.scijava.sjep.Token |
|---|
getToken |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
Operator.Associativity getAssociativity()
boolean isLeftAssociative()
boolean isRightAssociative()
boolean isInfix()
a-b).
boolean isPrefix()
-a).
boolean isPostfix()
a').
double getPrecedence()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||