|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.dml.AbstractOperation
org.quattor.pan.dml.operators.Div
public final class Div
Implements a division operation for longs and doubles. If one of the arguments is a double, then the result is a double. Otherwise, the result is a long.
| Field Summary |
|---|
| Fields inherited from class org.quattor.pan.dml.AbstractOperation |
|---|
ops, sourceRange |
| Method Summary | |
|---|---|
Element |
execute(Context context)
Execute this operation within the given context. |
static Operation |
newOperation(SourceRange sourceRange,
Operation... ops)
|
| Methods inherited from class org.quattor.pan.dml.AbstractOperation |
|---|
calculateArgs, calculateTerms, checkInvalidSelfContext, checkRestrictedContext, getOperations, getSourceRange, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static Operation newOperation(SourceRange sourceRange,
Operation... ops)
throws SyntaxException
SyntaxExceptionpublic Element execute(Context context)
Operation
execute in interface Operationexecute in class AbstractOperationcontext - evaluation context for the statement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||