public class AlphabeticalComparator extends Object implements Comparator<Reference>, Serializable
| Constructor and Description |
|---|
AlphabeticalComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Reference ref0,
Reference ref1)
Compares two references.
|
int |
compare(String str0,
String str1)
Compares two strings.
|
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 int compare(Reference ref0, Reference ref1)
compare in interface Comparator<Reference>ref0 - The first reference.ref1 - The second reference.Comparatorpublic int compare(String str0, String str1)
str0 - The first string.str1 - The second string.ComparatorCopyright © 2005–2025. All rights reserved.