public class UserByNameComparator extends Object implements Comparator<User>, Serializable
| Constructor and Description |
|---|
UserByNameComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(User user1,
User user2) |
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(User user1, User user2)
compare in interface Comparator<User>Should sort users by personNamesCopyright © 2024 OpenMRS Inc.. All rights reserved.