Class VersionComparator
java.lang.Object
org.powermock.modules.junit4.common.internal.impl.VersionComparator
- All Implemented Interfaces:
Comparator
This code is copied from http://stackoverflow.com/questions/198431/how-do-you-compare-two-version-strings-in-java
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
VersionComparator
VersionComparator()
-
-
Method Details
-
equals
-
compare
- Specified by:
comparein interfaceComparator
-