|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.SIRAPRISE.typeimplementations.ROUND_FLOAT_FLOAT
public final class ROUND_FLOAT_FLOAT
The float rounding operator returns the FLOAT value that is an exact multiple of the second argument (the rounding unit), and for which the absolute value of the difference with the first argument (the number to be rounded) is minimal.
| Constructor Summary | |
|---|---|
ROUND_FLOAT_FLOAT()
|
|
| Method Summary | |
|---|---|
ValueBuffer |
executeOperator(java.util.LinkedList<ValueBuffer> args)
The float rounding operator returns the FLOAT value that is an exact multiple of the second argument (the rounding unit), and for which the absolute value of the difference with the first argument (the number to be rounded) is minimal. |
java.lang.String[] |
getArgumentTypeNames()
ROUND takes two arguments, each of type FLOAT |
java.lang.String |
getReturnTypeName()
The return type is FLOAT |
boolean |
isDeterministic()
Tells whether the operator is deterministic with respect to the arguments of its invocations. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ROUND_FLOAT_FLOAT()
| Method Detail |
|---|
public ValueBuffer executeOperator(java.util.LinkedList<ValueBuffer> args)
executeOperator in interface OperatorImplementationargs - the argument list. The list must hold as many ValueBuffer objects as there are arguments to the operator, and each ValueBuffer object holds a value for some argument to the operator. ValueBuffer objects on the list must appear in the same order as the operator argument declarations.
public java.lang.String[] getArgumentTypeNames()
getArgumentTypeNames in interface OperatorImplementationpublic java.lang.String getReturnTypeName()
getReturnTypeName in interface OperatorImplementationpublic boolean isDeterministic()
OperatorImplementation_V0104
isDeterministic in interface OperatorImplementation_V0104
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||