com.atlassian.confluence.upgrade
Class VersionNumberComparator
java.lang.Object
com.atlassian.confluence.upgrade.VersionNumberComparator
- All Implemented Interfaces:
- Comparator<String>
public class VersionNumberComparator
- extends Object
- implements Comparator<String>
Comparator that attempts to place software version numbers (i.e. 1.10, 1.1.1, 1.1-beta2) in some kind of logical
order
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionNumberComparator
public VersionNumberComparator()
compare
public int compare(String o1,
String o2)
- Specified by:
compare
in interface Comparator<String>
- See Also:
Comparator
Copyright © 2003-2013 Atlassian. All Rights Reserved.