public static <T extends Iterable<?>> T noNullElements(T iterable) {
        return noNullElements(iterable, DEFAULT_NO_NULL_ELEMENTS_COLLECTION_EX_MESSAGE);
    }
<p>Validate that the specified argument iterable is neither
{@code null} nor contains any elements that are {@code null};
otherwise throwing an exception.

<pre>Validate.noNullElements(myCollection);</pre>

<p>If the iterable is {@code null}, then the message in the exception
is &quot;The validated object is null&quot;.</p>

<p>If the array has a {@code null} element, then the message in the
exception is &quot;The validated iterable contains null element at index:
&quot followed by the index.</p>

@param <T> the iterable type
@param iterable  the iterable to check, validated not null by this method
@return the validated iterable (never {@code null} method for chaining)
@throws NullPointerException if the array is {@code null}
@throws IllegalArgumentException if an element is {@code null}
@see #noNullElements(Iterable, String, Object...)
android/android_framework/base/src/main/java/lang3/Validate.java