|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.SIRAPRISE.typeimplementations.CEIL_INT_INT
public final class CEIL_INT_INT
CEIL returns the smallest integer that is higher than or equal to the first argument and an exact multiple of the second. CEIL(5,2) = 6 CEIL(6,2) = 6 CEIL(-5,2) = -4 CEIL(-6,2) = -6 CEIL(a,b) = CEIL(a,-b)
| Constructor Summary | |
|---|---|
CEIL_INT_INT()
|
|
| Method Summary | |
|---|---|
ValueBuffer |
executeOperator(java.util.LinkedList<ValueBuffer> args)
CEIL returns the smallest integer that is higher than or equal to the first argument and an exact multiple of the second. |
java.lang.String[] |
getArgumentTypeNames()
The operator takes two arguments, both of type INT |
java.lang.String |
getReturnTypeName()
The return type is INT |
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 CEIL_INT_INT()
| 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 getReturnTypeName()
getReturnTypeName in interface OperatorImplementationpublic java.lang.String[] getArgumentTypeNames()
getArgumentTypeNames 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 | |||||||||