public interface StringComparator
extends java.util.Comparator<java.lang.String>
Modifier and Type | Interface and Description |
---|---|
static class |
StringComparator.Base
An abstract base class which provides logic that will be common to most,
if not all, actual implementations of the interface.
|
Modifier and Type | Field and Description |
---|---|
static int |
EQUAL
Semantic constant indicating that the strings are equal.
|
static int |
S1_IS_GREATER
Semantic constant indicating the first string is "greater".
|
static int |
S2_IS_GREATER
Semantic constant indicating the second string is "greater".
|
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
static final int S1_IS_GREATER
static final int S2_IS_GREATER
static final int EQUAL