Class PartialOrder
java.lang.Object
org.aspectj.util.PartialOrder
This class implements a partial order
It includes routines for doing a topo-sort
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
All classes that want to be part of a partial order must implement PartialOrder.PartialComparable. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PartialOrder
public PartialOrder()
-
-
Method Details
-
sort
- Parameters:
objects
- must all implement PartialComparable- Returns:
- the same members as objects, but sorted according to their partial order. returns null if the objects are cyclical
-
main
-