|
|||||||||
| Home >> All >> openfuture >> bugbase >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
openfuture.bugbase.model
Class BugReportDateComparator

java.lang.Objectopenfuture.bugbase.model.BugReportDateComparator
- All Implemented Interfaces:
- java.util.Comparator
- Direct Known Subclasses:
- BugReportStatusComparator
- public class BugReportDateComparator
- extends java.lang.Object
- implements java.util.Comparator
- extends java.lang.Object
| Constructor Summary | |
BugReportDateComparator()
|
|
| Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares two bug reports by their reported date 55 . |
int |
dateCompare(java.util.Date d1,
java.util.Date d2)
Compare two dates. |
| 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 |
BugReportDateComparator
public BugReportDateComparator()
| Method Detail |
compare
public int compare(java.lang.Object o1, java.lang.Object o2)
- Compares two bug reports by
their reported date 55 . If they are equal,
starting date 55 is used for comparison. If these are also equal,
their ID 55 is used.
- Specified by:
comparein interfacejava.util.Comparator
dateCompare
public int dateCompare(java.util.Date d1, java.util.Date d2)
- Compare two dates.
nullis the smallest element of the order.
|
|||||||||
| Home >> All >> openfuture >> bugbase >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
openfuture.bugbase.model.BugReportDateComparator