Class Util
java.lang.Object
com.github.juliarn.npclib.api.util.Util
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> @NotNull Supplier<T> callableToSupplier(@NotNull Callable<T> callable) static <T> booleanequals(@NotNull Class<T> expectedType, @Nullable Object original, @Nullable Object compare, @NotNull BiPredicate<T, T> checker) static intfloor(double in)
-
Constructor Details
-
Util
private Util()
-
-
Method Details
-
floor
public static int floor(double in) -
callableToSupplier
-
equals
public static <T> boolean equals(@NotNull @NotNull Class<T> expectedType, @Nullable @Nullable Object original, @Nullable @Nullable Object compare, @NotNull @NotNull BiPredicate<T, T> checker)
-