jetbrains.buildServer.vcs.utils
Class IntVersionComparator

java.lang.Object
  extended by jetbrains.buildServer.vcs.utils.IntVersionComparator
All Implemented Interfaces:
java.util.Comparator<java.lang.String>
Direct Known Subclasses:
VcsSupportUtil.IntVersionComparator

public class IntVersionComparator
extends java.lang.Object
implements java.util.Comparator<java.lang.String>

Default implementation to compare integer versions


Constructor Summary
IntVersionComparator()
           
 
Method Summary
 int compare(java.lang.String o1, java.lang.String o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

IntVersionComparator

public IntVersionComparator()
Method Detail

compare

public int compare(java.lang.String o1,
                   java.lang.String o2)
Specified by:
compare in interface java.util.Comparator<java.lang.String>