Class ObjectUtils
java.lang.Object
com.cumulocity.microservice.customdecoders.api.util.ObjectUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
S> S emptyOrElse
(Optional<T> optional, com.google.common.base.Supplier<S> supplier) static boolean
static boolean
static <T> boolean
isEmpty
(Collection<T> collection) static <K,
V> boolean static boolean
-
Method Details
-
isNull
-
isEmpty
-
isEmpty
-
isEmpty
-
emptyOrElse
public static <T,S> S emptyOrElse(Optional<T> optional, com.google.common.base.Supplier<S> supplier) -
isEmpty
-