Package ch.njol.skript.registrations
Class Comparators
java.lang.Object
ch.njol.skript.registrations.Comparators
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Comparator.Relation
Deprecated.static <F,
S> @Nullable Comparator <? super F, ? super S> getComparator
(Class<F> f, Class<S> s) Deprecated.static Comparator
<Object> Deprecated.static <T1,
T2> void registerComparator
(Class<T1> t1, Class<T2> t2, Comparator<T1, T2> c) Deprecated.Registers aComparator
.
-
Method Details
-
registerComparator
Deprecated.Registers aComparator
.- Parameters:
t1
-t2
-c
-- Throws:
IllegalArgumentException
- if any given class is equal toObject.class
-
compare
public static Comparator.Relation compare(@Nullable @Nullable Object o1, @Nullable @Nullable Object o2) Deprecated. -
getJavaComparator
Deprecated. -
getComparator
@Nullable public static <F,S> @Nullable Comparator<? super F,? super S> getComparator(Class<F> f, Class<S> s) Deprecated.
-
Comparators