com.google.appengine.api.search.dev

## Interface Expression.Sorter

- All Superinterfaces:
    java.util.Comparator<java.lang.Object>
  Enclosing class:
    Expression

      public static interface Expression.Sorter
      extends java.util.Comparator<java.lang.Object>

  Sort class for potential multi dimensional sorting of the expression.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(java.lang.Object left, java.lang.Object right)` Sort intermediate values.
    `java.lang.Object` | `eval(Document doc)` Evaluate expression to intermediate value suitable for sorting.

    - ### Methods inherited from interface java.util.Comparator

      `equals`

- - ### Method Detail

    - #### eval

          java.lang.Object eval(Document doc)

      Evaluate expression to intermediate value suitable for sorting.

    - #### compare

          int compare(java.lang.Object left,
                    java.lang.Object right)

      Sort intermediate values.
      Specified by:
        `compare` in interface `java.util.Comparator<java.lang.Object>`