Package net.sf.jasperreports.engine.util
Class VersionComparator
- java.lang.Object
-
- net.sf.jasperreports.engine.util.VersionComparator
-
- All Implemented Interfaces:
Comparator<String>
public class VersionComparator extends Object implements Comparator<String>
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
LOWEST_VERSION
-
Constructor Summary
Constructors Constructor Description VersionComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(String currentVersion, String oldVersion)
-
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
-
-
-
-
Field Detail
-
LOWEST_VERSION
public static final String LOWEST_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
compare
public int compare(String currentVersion, String oldVersion)
- Specified by:
compare
in interfaceComparator<String>
-
-