Expression.Sorter
Stay organized with collections
Save and categorize content based on your preferences.
-
-
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-15 UTC."],[[["`Expression.Sorter` is an interface within the `com.google.appengine.api.search.dev` package designed for sorting expressions."],["It extends the `java.util.Comparator` interface, providing methods for comparing objects."],["The `eval` method is used to evaluate an expression to an intermediate value that is suitable for sorting."],["The `compare` method sorts intermediate values, taking two `Object` parameters for comparison, as specified by the `java.util.Comparator` interface."],["It provides functionalities that could be used to handle multi-dimensional sorting."]]],[]]