org.repoweb.model
Class VersionComparator

java.lang.Object
  extended byorg.repoweb.model.VersionComparator
All Implemented Interfaces:
java.util.Comparator

public class VersionComparator
extends java.lang.Object
implements java.util.Comparator

Comparator for version.


Constructor Summary
VersionComparator()
           
 
Method Summary
 int compare(java.lang.Object versionA, java.lang.Object versionB)
           
 
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

VersionComparator

public VersionComparator()
Method Detail

compare

public int compare(java.lang.Object versionA,
                   java.lang.Object versionB)
Specified by:
compare in interface java.util.Comparator


Copyright © 2003-2005 Repoweb. All Rights Reserved.