public class CaseSensitiveOrder extends Object implements Comparator<String>, Serializable
String.CASE_INSENSITIVE_ORDER) and if both are equal an additional comparision
using case sensitive ordering is performed.| Modifier and Type | Field and Description |
|---|---|
static Comparator<String> |
INSTANCE
A static variable containg an instance of the comparator.
|
| Constructor and Description |
|---|
CaseSensitiveOrder() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(String o1,
String o2) |
clone, 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 static final Comparator<String> INSTANCE
public int compare(String o1, String o2)
compare in interface Comparator<String>Copyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.