org.eclipse.internal.xtend.type.baseimpl
Class TypesComparator

java.lang.Object
  extended by org.eclipse.internal.xtend.type.baseimpl.TypesComparator
All Implemented Interfaces:
java.util.Comparator<java.util.List<? extends Type>>

public final class TypesComparator
extends java.lang.Object
implements java.util.Comparator<java.util.List<? extends Type>>


Constructor Summary
TypesComparator()
           
 
Method Summary
 int compare(java.util.List<? extends Type> types1, java.util.List<? extends Type> 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

TypesComparator

public TypesComparator()
Method Detail

compare

public int compare(java.util.List<? extends Type> types1,
                   java.util.List<? extends Type> 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<? extends Type>>