be.SIRAPRISE.typeimplementations
Class ACOS_FLOAT

java.lang.Object
  extended by be.SIRAPRISE.typeimplementations.ACOS_FLOAT
All Implemented Interfaces:
OperatorImplementation, OperatorImplementation_V0104

public final class ACOS_FLOAT
extends java.lang.Object
implements OperatorImplementation_V0104

The ACOS operator takes a FLOAT argument and returns the ANGLE value of which this argument is the cosine.

Author:
Erwin

Constructor Summary
ACOS_FLOAT()
           
 
Method Summary
 ValueBuffer executeOperator(java.util.LinkedList<ValueBuffer> args)
          The operator returns the ANGLE value (in the range 0-PI) such that the argument is the cosine of this angle
 java.lang.String[] getArgumentTypeNames()
          ACOS takes an argument of type FLOAT
 java.lang.String getReturnTypeName()
          ACOS returns an ANGLE value
 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

ACOS_FLOAT

public ACOS_FLOAT()
Method Detail

executeOperator

public ValueBuffer executeOperator(java.util.LinkedList<ValueBuffer> args)
The operator returns the ANGLE value (in the range 0-PI) such that the argument is the cosine of this angle

Specified by:
executeOperator in interface OperatorImplementation
Parameters:
args - 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.
Returns:
A ValueBuffer object holding the result value of the operator execution in internal format.

getReturnTypeName

public java.lang.String getReturnTypeName()
ACOS returns an ANGLE value

Specified by:
getReturnTypeName in interface OperatorImplementation
Returns:
the name of the type of the return value

getArgumentTypeNames

public java.lang.String[] getArgumentTypeNames()
ACOS takes an argument of type FLOAT

Specified by:
getArgumentTypeNames in interface OperatorImplementation
Returns:
The names of the argument types

isDeterministic

public boolean isDeterministic()
Description copied from interface: OperatorImplementation_V0104
Tells whether the operator is deterministic with respect to the arguments of its invocations. An operator is deterministic if and only if for any two distinct invocations, if all the argument values are the same, then the result value returned will also be the same. An example of a nondeterministic operators is RANDOM().

Specified by:
isDeterministic in interface OperatorImplementation_V0104
Returns:
true if the operator is deterministic.