Class PropertyPathComparator<T>
java.lang.Object
org.springframework.data.keyvalue.core.PropertyPathComparator<T>
- All Implemented Interfaces:
Comparator<T>
- Since:
- 3.1.10
- Author:
- Christoph Strobl
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
PropertyPathComparator
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T>
-
asc
Sort ascending.- Returns:
-
desc
Sort descending.- Returns:
-
nullsFirst
Sort null values first.- Returns:
-
nullsLast
Sort null values last.- Returns:
-