T - The types that should be comparedpublic class PropertyPathStringComparator<T> extends BaseComparator<T>
BaseComparator| Constructor and Description |
|---|
PropertyPathStringComparator(Locale locale,
String propertyPath) |
PropertyPathStringComparator(String propertyPath)
Sets the JVM default Locale.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T object1,
T object2) |
compareNullObjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic PropertyPathStringComparator(Locale locale, String propertyPath)
locale - null not allowedpropertyPath - null or empty string not allowedpublic PropertyPathStringComparator(String propertyPath)
propertyPath - PropertyPathStringComparator(java.util.Locale,
java.lang.String),
Locale.getDefault()Copyright © 2020 Blazebit. All rights reserved.