Package org.aspectj.util
Schnittstelle PartialOrder.PartialComparable
- Alle bekannten Implementierungsklassen:
Advice
,BcelAccessForInlineMunger
,BcelCflowCounterFieldAdder
,BcelCflowStackFieldAdder
,BcelPerClauseAspectAdder
,BcelTypeMunger
,Checker
,ConcreteTypeMunger
,EclipseTypeMunger
,ShadowMunger
,TemporaryTypeMunger
- Umschließende Klasse:
PartialOrder
public static interface PartialOrder.PartialComparable
All classes that want to be part of a partial order must implement PartialOrder.PartialComparable.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
int
fallbackCompareTo
(Object other) This method can provide a deterministic ordering for elements that are strictly not comparable.
-
Methodendetails
-
compareTo
- Gibt zurück:
- +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.
-