org.openarchitectureware.compiler.runtime.util
Class ParamTypeListComparator

java.lang.Object
  extended by org.openarchitectureware.compiler.runtime.util.ParamTypeListComparator
All Implemented Interfaces:
java.util.Comparator<java.util.List<java.lang.Class<?>>>

public class ParamTypeListComparator
extends java.lang.Object
implements java.util.Comparator<java.util.List<java.lang.Class<?>>>


Constructor Summary
ParamTypeListComparator()
           
 
Method Summary
 int compare(java.util.List<java.lang.Class<?>> types1, java.util.List<java.lang.Class<?>> types2)
          returns -1 if the second list of types is not assignable to the first list of types returns 0 if the second list of types exactly matches the first list of types returns 1 if the second list of types is assignable to the first list of types
 
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

ParamTypeListComparator

public ParamTypeListComparator()
Method Detail

compare

public int compare(java.util.List<java.lang.Class<?>> types1,
                   java.util.List<java.lang.Class<?>> types2)
returns -1 if the second list of types is not assignable to the first list of types returns 0 if the second list of types exactly matches the first list of types returns 1 if the second list of types is assignable to the first list of types

Specified by:
compare in interface java.util.Comparator<java.util.List<java.lang.Class<?>>>