Package org.aspectj.util
Interface PartialOrder.PartialComparable
- All Known Implementing Classes:
Advice
,BcelAccessForInlineMunger
,BcelCflowCounterFieldAdder
,BcelCflowStackFieldAdder
,BcelPerClauseAspectAdder
,BcelTypeMunger
,Checker
,ConcreteTypeMunger
,EclipseTypeMunger
,ShadowMunger
,TemporaryTypeMunger
- Enclosing class:
- PartialOrder
public static interface PartialOrder.PartialComparable
All classes that want to be part of a partial order must implement PartialOrder.PartialComparable.
-
Method Summary
Modifier and TypeMethodDescriptionint
int
fallbackCompareTo(Object other)
This method can provide a deterministic ordering for elements that are strictly not comparable.
-
Method Details
-
compareTo
- Returns:
- +1 if this is greater than other
- -1 if this is less than other
- 0 if this is not comparable to other
-
fallbackCompareTo
This method can provide a deterministic ordering for elements that are strictly not comparable. If you have no need for this, this method can just return 0 whenever called.
-