Package ch.njol.skript.classes
Class InverseComparator<T1,T2>
java.lang.Object
ch.njol.skript.classes.InverseComparator<T1,T2>
- All Implemented Interfaces:
Comparator<T1,T2>
Deprecated.
This class is no longer exposed in newer versions. It should not be used or referenced.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.njol.skript.classes.Comparator
Comparator.ComparatorInfo<T1,T2>, Comparator.Relation -
Field Summary
Fields inherited from interface ch.njol.skript.classes.Comparator
equalsComparator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Compares the given objects which may not be null.booleanDeprecated.toString()Deprecated.
-
Constructor Details
-
InverseComparator
Deprecated.
-
-
Method Details
-
compare
Deprecated.Description copied from interface:ComparatorCompares the given objects which may not be null. Returning GREATER/SMALLER means that the first parameter is greater/smaller.- Specified by:
comparein interfaceComparator<T1,T2> - Parameters:
o1- Non-null objecto2- Non-null object- Returns:
- the relation of the objects. Should neither return GREATER_OR_EQUAL nor SMALLER_OR_EQUAL.
-
supportsOrdering
public boolean supportsOrdering()Deprecated.- Specified by:
supportsOrderingin interfaceComparator<T1,T2> - Returns:
- whether this comparator supports ordering of elements or not.
-
toString
Deprecated.
-