# Class CollectionUtils

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

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <T> boolean`
  `isNullOrEmpty(Iterable<T> iterable)`
  Checks if the given iterable is null or empty.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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