org.modeshape.graph.query.process
Interface SelectComponent.CompareOperation

Enclosing class:
SelectComponent

protected static interface SelectComponent.CompareOperation

Interface defining the Comparison functionality for a specific Operator.


Method Summary
 boolean evaluate(Object tupleValue, Object criteriaValue)
          Perform the comparison operation.
 

Method Detail

evaluate

boolean evaluate(Object tupleValue,
                 Object criteriaValue)
Perform the comparison operation.

Parameters:
tupleValue - the value in the tuple
criteriaValue - the right-hand-side of the comparison
Returns:
true if the comparison criteria is satisfied, or false otherwise


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.