uk.ac.soton.itinnovation.grid.service.utils
Class Versions
java.lang.Object
uk.ac.soton.itinnovation.grid.service.utils.Versions
public class Versions
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Versions
public Versions()
compareVersions
public static int compareVersions(String a,
String b)
- Compare two versions.
- Parameters:
a - the first versionb - the second version
- Returns:
- 0 if the versions are the same, -1 if a is earlier
1 if a is later
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.