public class SortKeyComparator extends Object implements Comparator<JsonValue>
Utils.compareValues(Object, Object)
Constructor and Description |
---|
SortKeyComparator(List<SortKey> sortKeys)
Construct a Comparator that will compare two JsonValue objects based on the provided list of SortKeys.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(JsonValue left,
JsonValue right) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(JsonValue left, JsonValue right)
compare
in interface Comparator<JsonValue>
Copyright 2011-2017 ForgeRock AS.