Class CollectionUtils

java.lang.Object
com.google.adk.CollectionUtils

public final class CollectionUtils extends Object
Frequently used code snippets for collections.
  • Method Details

    • isNullOrEmpty

      public static <T> boolean isNullOrEmpty(Iterable<T> iterable)
      Checks if the given iterable is null or empty.
      Parameters:
      iterable - the iterable to check
      Returns:
      true if the iterable is null or empty, false otherwise