public class AlphabeticalComparator extends java.lang.Object implements java.util.Comparator<Reference>, java.io.Serializable
| Constructor and Description |
|---|
AlphabeticalComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Reference ref0,
Reference ref1)
Compares two references.
|
int |
compare(java.lang.String str0,
java.lang.String str1)
Compares two strings.
|
public int compare(Reference ref0, Reference ref1)
compare in interface java.util.Comparator<Reference>ref0 - The first reference.ref1 - The second reference.Comparatorpublic int compare(java.lang.String str0,
java.lang.String str1)
str0 - The first string.str1 - The second string.ComparatorCopyright © 2005-2024 Restlet.