Class CollectionUtils
java.lang.Object
com.google.adk.CollectionUtils
Frequently used code snippets for collections.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> boolean
isNullOrEmpty
(Iterable<T> iterable) Checks if the given iterable is null or empty.
-
Method Details
-
isNullOrEmpty
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
-