public class VersionComparator
extends Object
Utility class that uses Comparison class to provide some simple static methods.
-
Constructor Summary
Constructors
-
Method Summary
static boolean
static boolean
static boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
VersionComparator
public VersionComparator()
-
Method Details
-
isBefore
public static boolean isBefore(String leftVersion,
String rightVersion)
-
isAfter
public static boolean isAfter(String leftVersion,
String rightVersion)
-
isSame
public static boolean isSame(String leftVersion,
String rightVersion)