|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.labs.minion.indexer.entry.EntryIDComparator
public class EntryIDComparator
A comparator for entries that compares them based on their IDs. This is useful for sorting the list by ID.
Constructor Summary | |
---|---|
EntryIDComparator()
Creates a comparator for entry ids. |
Method Summary | |
---|---|
int |
compare(Entry e1,
Entry e2)
|
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 EntryIDComparator()
Method Detail |
---|
public int compare(Entry e1, Entry e2)
compare
in interface java.util.Comparator<Entry>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |