public class UserInfoSorting extends Object implements Comparator<IUserInfo>
Modifier and Type | Field and Description |
---|---|
static int |
CREATION_DATE |
static int |
EMAIL |
static int |
FIRSTNAME |
static int |
LASTNAME |
static int |
LOGIN |
Constructor and Description |
---|
UserInfoSorting(int sortField,
boolean ascending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(IUserInfo o1,
IUserInfo o2) |
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 static final int LOGIN
public static final int EMAIL
public static final int FIRSTNAME
public static final int LASTNAME
public static final int CREATION_DATE
public int compare(IUserInfo o1, IUserInfo o2)
compare
in interface Comparator<IUserInfo>
Copyright © 2012-2018. All Rights Reserved.