org.jboss.classloading.spi.version
Interface VersionComparator<T,U>

Type Parameters:
T - the first version type
U - the second version type

public interface VersionComparator<T,U>

The Version impl comparator.

Author:
Ales Justin, Adrian Brock

Method Summary
 int compare(T one, U two)
          Compare the two version impls.
 

Method Detail

compare

int compare(T one,
            U two)
Compare the two version impls.

Parameters:
one - the first version
two - the second versionl
Returns:
compare the two versions


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.