org.modeshape.jcr.query.process

## Interface SelectComponent.CompareOperation

- Enclosing class:
    SelectComponent

      protected static interface SelectComponent.CompareOperation

  Interface defining the `Comparison` functionality for a specific `Operator`.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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-2014 JBoss, a division of Red Hat. All Rights Reserved.