|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodel.Tournament.EntryComparator
public static class Tournament.EntryComparator
EntryComparator class is used so that Entry objects can be sorted by different fields of the objects.
Nested Class Summary | |
---|---|
static class |
Tournament.EntryComparator.SortBy
|
Field Summary | |
---|---|
private static Tournament.EntryComparator.SortBy |
sort_by_field
|
Constructor Summary | |
---|---|
Tournament.EntryComparator(Tournament.EntryComparator.SortBy sort_by)
|
Method Summary | |
---|---|
int |
compare(Entry first_entry,
Entry second_entry)
|
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 |
Field Detail |
---|
private static Tournament.EntryComparator.SortBy sort_by_field
Constructor Detail |
---|
public Tournament.EntryComparator(Tournament.EntryComparator.SortBy sort_by)
Method Detail |
---|
public int compare(Entry first_entry, Entry second_entry)
compare
in interface java.util.Comparator<Entry>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |