com.opera.core.systems.util
Class VersionUtil
java.lang.Object
com.opera.core.systems.util.VersionUtil
public class VersionUtil
- extends Object
A replacement for a subset of com.sun.xml.ws.util.VersionUtil.
- Author:
- Jan Vidar Krey
|
Method Summary |
static int |
compare(String a,
String b)
Returns a negative number if the first version is lower than the second,
zero if they are equal, and a positive number if the first version is
higher than the second. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
compare
public static int compare(String a,
String b)
- Returns a negative number if the first version is lower than the second,
zero if they are equal, and a positive number if the first version is
higher than the second.
- Parameters:
a - b -
- Returns:
Copyright © 2012. All Rights Reserved.