Package org.javlo.user
Class UserInfoSorting
- java.lang.Object
-
- org.javlo.user.UserInfoSorting
-
- All Implemented Interfaces:
Comparator<IUserInfo>
public class UserInfoSorting extends Object implements Comparator<IUserInfo>
-
-
Field Summary
Fields Modifier and Type Field Description static int
CREATION_DATE
static int
EMAIL
static int
FIRSTNAME
static int
LASTNAME
static int
LOGIN
-
Constructor Summary
Constructors Constructor Description UserInfoSorting(int sortField, boolean ascending)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(IUserInfo o1, IUserInfo o2)
-
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Field Detail
-
LOGIN
public static final int LOGIN
- See Also:
- Constant Field Values
-
EMAIL
public static final int EMAIL
- See Also:
- Constant Field Values
-
FIRSTNAME
public static final int FIRSTNAME
- See Also:
- Constant Field Values
-
LASTNAME
public static final int LASTNAME
- See Also:
- Constant Field Values
-
CREATION_DATE
public static final int CREATION_DATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
compare
public int compare(IUserInfo o1, IUserInfo o2)
- Specified by:
compare
in interfaceComparator<IUserInfo>
-
-