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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(User user1, User user2)
compare
in interface Comparator<User>
Should sort users by personNames
Copyright © 2024 OpenMRS Inc.. All rights reserved.