|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.acmsl.antmake.cvslib.CvsUtils.DateComparator
Sorts CVS entries by date.
| Constructor Summary | |
CvsUtils.DateComparator()
|
|
| Method Summary | |
int |
compare(CvsEntry first,
CvsEntry second)
Compares given CVS entries by their date. |
int |
compare(java.lang.Object first,
java.lang.Object second)
Compares its two arguments for order. |
boolean |
equals(java.lang.Object comparator)
Checks if given comparator is semantically equal to this instance. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CvsUtils.DateComparator()
| Method Detail |
public int compare(java.lang.Object first,
java.lang.Object second)
throws java.lang.ClassCastException
compare in interface java.util.Comparatorfirst - the first entry.second - the second entry.
java.lang.ClassCastException - if the arguments' types prevent
them from being compared by this Comparator.
public int compare(CvsEntry first,
CvsEntry second)
first - the first entry.second - the second entry.
public boolean equals(java.lang.Object comparator)
equals in interface java.util.Comparatorequals in class java.lang.Objectcomparator - the comparator to check against.
true if both instances are semantically
equal.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||