|
Restlet Framework 2.2.1 Android |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.engine.util.AlphabeticalComparator
public class AlphabeticalComparator
Allows to sort the list of references set by the resource.
Constructor Summary | |
---|---|
AlphabeticalComparator()
|
Method Summary | |
---|---|
int |
compare(Reference ref0,
Reference ref1)
Compares two references. |
int |
compare(java.lang.String str0,
java.lang.String str1)
Compares two strings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public AlphabeticalComparator()
Method Detail |
---|
public int compare(Reference ref0, Reference ref1)
compare
in interface java.util.Comparator<Reference>
ref0
- The first reference.ref1
- The second reference.
Comparator
public int compare(java.lang.String str0, java.lang.String str1)
str0
- The first string.str1
- The second string.
Comparator
|
Restlet Framework 2.2.1 Android |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |