|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.gx.webmanager.authorization.impl.UserComparator
public class UserComparator
Comparison function for the User class.
| Constructor Summary | |
|---|---|
UserComparator()
Default constructur. |
|
UserComparator(java.lang.String compareProperty,
boolean ascending)
Custom constructor which makes it possible to set the property to compare by and the direction in which a User it is compared to another User. |
|
| Method Summary | |
|---|---|
int |
compare(User user1,
User user2)
|
| 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 |
| Constructor Detail |
|---|
public UserComparator()
public UserComparator(java.lang.String compareProperty,
boolean ascending)
compareProperty - Property to compare byascending - Direction in which a User it is compared to another User| Method Detail |
|---|
public int compare(User user1,
User user2)
compare in interface java.util.Comparator<User>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||