org.af.commons.widgets.vi
Class IntegerVersions

java.lang.Object
  extended by org.af.commons.widgets.vi.IntegerVersions
All Implemented Interfaces:
Comparator<String>

public class IntegerVersions
extends Object
implements Comparator<String>

Compares two Strings, which are integer values.


Constructor Summary
IntegerVersions()
           
 
Method Summary
 int compare(String o1, String o2)
          Compares two Strings, which are integer values.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

IntegerVersions

public IntegerVersions()
Method Detail

compare

public int compare(String o1,
                   String o2)
Compares two Strings, which are integer values.

Specified by:
compare in interface Comparator<String>