| java.lang.Object org.sakaiproject.user.tool.LocaleComparator
LocaleComparator | final public class LocaleComparator implements Comparator(Code) | | Comparator for sorting locale by DisplayName
|
compare | public int compare(Object obj1, Object obj2)(Code) | | Compares Locale objects by comparing the DisplayName * *
Parameters: obj1 - 1st Locale Object for comparison * Parameters: obj2 - 2nd Locale Object for comparison * negative, zero, or positive integer * (obj1 charge is less than, equal to, or greater than the obj2 charge) |
equals | public boolean equals(Object obj)(Code) | | Override of equals method * *
Parameters: obj - LocaleComparator object * true if equal, false if not equal |
|
|