uk.ac.soton.itinnovation.grid.service.utils
Class Versions

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.utils.Versions

public class Versions
extends Object


Constructor Summary
Versions()
           
 
Method Summary
static int compareVersions(String a, String b)
          Compare two versions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Versions

public Versions()
Method Detail

compareVersions

public static int compareVersions(String a,
                                  String b)
Compare two versions.

Parameters:
a - the first version
b - 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.