query
Interface Operator

All Known Implementing Classes:
LogicalOperator, RelationalOperator

public interface Operator

The Operator interface should be implemented by any class whose instances are intended to be executed as an Operator. The class must define a method of boolean argument called getResult. This interface is designed to provide a common protocol for objects that wish be recognised as Operators. For example, Operator is implemented by class GreaterThan which is a wrapper for greater than ( > ) operator.


Method Summary
 boolean getResult(java.lang.Object object)
          true if operation succeeds, else return false.
 

Method Detail

getResult

public boolean getResult(java.lang.Object object)
true if operation succeeds, else return false.

Parameters:
object - object
Returns:
true if operation succeeds, else return false.