|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.MultiColumnComparator
edu.northwestern.at.monk.model.PersonCategory.Comparator
public static class PersonCategory.Comparator
A multi-column person category comparator.
MultiColumnComparator| Constructor Summary | |
|---|---|
PersonCategory.Comparator(PersonCategory.SortOption... sortOptions)
Creates a new person category comparator. |
|
| Method Summary | |
|---|---|
int |
compare(PersonCategory cat1,
PersonCategory cat2)
Compares two person categories. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public PersonCategory.Comparator(PersonCategory.SortOption... sortOptions)
sortOptions - Person category sort options, or null to use the natural
ordering.| Method Detail |
|---|
public int compare(PersonCategory cat1,
PersonCategory cat2)
compare in interface java.util.Comparator<PersonCategory>cat1 - First person category.cat2 - Second person category.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||