Expression.Sorter

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

      All Methods Instance Methods Abstract 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

        comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • 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>