|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.matthias_burbach.deputy.core.project.VersionComparator
Compares versions of Maven projects.
Constructor Summary | |
VersionComparator()
|
Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Note: o1 and o2 must both be instances of String .
|
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 VersionComparator()
Method Detail |
public int compare(java.lang.Object o1, java.lang.Object o2)
String
.
Comparison is such that newer versions are sorted to the tops of lists.
compare
in interface java.util.Comparator
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |