public class LocaleComparator extends NullComparator<String>
comparator, nullGreater
Constructor and Description |
---|
LocaleComparator(boolean nullGreater,
Locale desiredLocale)
构造
|
compare, doCompare, thenComparing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public LocaleComparator(boolean nullGreater, Locale desiredLocale)
nullGreater
- 是否null
在后desiredLocale
- 语言环境Copyright © 2025. All rights reserved.