|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.SIRAPRISE.typeimplementations.GreaterOrEqualOperatorImplementation
public final class GreaterOrEqualOperatorImplementation
GreaterOrEqualOperatorImplementation is a generic implementation implementing the behaviour of a GE operator, for all types for which an ordering is defined in the form of a GT operator. It operates by invoking the LT operator implementation of the type,, and negating the result.
| Constructor Summary | |
|---|---|
GreaterOrEqualOperatorImplementation(LessThanOperatorImplementation lessThanOperatorImplementation)
Creates the GreaterOrEqualOperatorImplementation |
|
| Method Summary | |
|---|---|
ValueBuffer |
executeOperator(java.util.LinkedList<ValueBuffer> args)
Performs the actual logic of the operator. |
java.lang.String[] |
getArgumentTypeNames()
Gets the list of names of types of the needed argument values |
java.lang.String |
getReturnTypeName()
Gets the name of the type of the return 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 |
|---|
public GreaterOrEqualOperatorImplementation(LessThanOperatorImplementation lessThanOperatorImplementation)
lessThanOperatorImplementation - The implementation object for the ordering operator (GT) corresponding to this less-than operator| Method Detail |
|---|
public ValueBuffer executeOperator(java.util.LinkedList<ValueBuffer> args)
OperatorImplementation
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()
OperatorImplementation
getArgumentTypeNames in interface OperatorImplementationpublic java.lang.String getReturnTypeName()
OperatorImplementation
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 | |||||||||