Package io.github.pellse.util
Interface ObjectUtils
public interface ObjectUtils
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T> Tstatic <T> Consumer<T> static <T,R> Function <T, R> static <T,R> Function <T, R> get(R value) static <T> voidstatic <T1,T2, U>
booleanisSafeEqual(T1 t1, Function<? super T1, ? extends U> propertyExtractor1, T2 t2, Function<? super T2, ? extends U> propertyExtractor2) static <T,U> boolean isSafeEqual(T t1, T t2, Function<? super T, ? extends U> propertyExtractor) static <T> Predicate<T> static <T> Predicate<T> static <T> Consumer<T> static <T> voidstatic <T> voidstatic <T,R> R
-
Method Details
-
isSafeEqual
-
isSafeEqual
-
ifNotNull
-
also
-
run
-
runIf
-
doNothing
-
run
-
get
-
get
-
then
-
or
-
nonNull
-