java.lang.Object
com.cumulocity.microservice.customdecoders.api.util.ObjectUtils

public final class ObjectUtils extends Object
  • Method Details

    • isNull

      public static boolean isNull(Object object)
    • isEmpty

      public static boolean isEmpty(Object object)
    • isEmpty

      public static <T> boolean isEmpty(Collection<T> collection)
    • isEmpty

      public static <K, V> boolean isEmpty(Map<K,V> map)
    • emptyOrElse

      public static <T, S> S emptyOrElse(Optional<T> optional, com.google.common.base.Supplier<S> supplier)
    • isEmpty

      public static boolean isEmpty(String charSequence)