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
-
Method Summary
Modifier and TypeMethodDescriptionstatic MethodBinding[]
abstractFirst(MethodBinding[] methods, int length)
static MethodBinding[]
concreteFirst(MethodBinding[] methods, int length)
static void
sortInferenceVariables(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.
-