Class BoundComparator
java.lang.Object
de.monticore.types3.generics.bounds.BoundComparator
- All Implemented Interfaces:
Comparator<Bound>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic intcompareBounds(Bound b1, Bound b2) protected intprotected intprotected intprotected intprotected intprotected static BoundComparatorprotected intgetOrderOfSubType(Bound bound) static voidinit()static voidreset()protected static voidsetDelegate(BoundComparator newDelegate) protected voidThis is not expected to be ever called.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
delegate
-
-
Constructor Details
-
BoundComparator
public BoundComparator()
-
-
Method Details
-
compareBounds
-
compare
- Specified by:
comparein interfaceComparator<Bound>
-
getOrderOfSubType
-
compareCaptureBounds
-
compareSubTypingBounds
-
compareTypeCompatibilityBounds
-
compareTypeEqualityBounds
-
compareUnsatisfiableBounds
-
throwUnimplemented
This is not expected to be ever called.- Throws:
UnsupportedOperationException
-
init
public static void init() -
reset
public static void reset() -
setDelegate
-
getDelegate
-