Package org.openbravo.erpCommon.modules
Class VersionUtility.VersionComparator
- java.lang.Object
-
- org.openbravo.erpCommon.modules.VersionUtility.VersionComparator
-
- All Implemented Interfaces:
Comparator<Object>
- Enclosing class:
- VersionUtility
public static class VersionUtility.VersionComparator extends Object implements Comparator<Object>
-
-
Constructor Summary
Constructors Constructor Description VersionComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Object o1, Object o2)
int
compareMajorVersions(String ver1, String ver2)
Compare just major versions without taking into account minor part-
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-