Class Sorting
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.util.Sorting
Sorting utilities.
Originally developed for the Object Teams project.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodBinding[]abstractFirst(MethodBinding[] methods, int length) static MethodBinding[]concreteFirst(MethodBinding[] methods, int length) static voidsortInferenceVariables(InferenceVariable[] variables) Sort inference variables by rank.static ReferenceBinding[]sortTypes(ReferenceBinding[] types) Topological sort for types Guarantee: supertypes come before subtypes.
-
Constructor Details
-
Sorting
public Sorting()
-
-
Method Details
-
sortTypes
Topological sort for types Guarantee: supertypes come before subtypes. -
concreteFirst
-
abstractFirst
-
sortInferenceVariables
Sort inference variables by rank.
-