|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mule.tools.tooling.maven.VersionComparator
public class VersionComparator
| Constructor Summary | |
|---|---|
VersionComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(String version,
String otherVersion)
Compares version to another given version, taking the numeric, dot-separated part and comparing them, major, minor, etcetera. Version suffixes (milestones and such) should be compared separately. |
| 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(String version,
String otherVersion)
compare in interface Comparator<String>otherVersion -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||