public static boolean allNotNull(final Object... values) {
        if (values == null) {
            return false;
        }

        for (final Object val : values) {
            if (val == null) {
                return false;
            }
        }

        return true;
    }
public static boolean allNotNull ( final Object ... values ) { if ( values == null ) { return false ; } for ( final Object val : values ) { if ( val == null ) { return false ; } } return true ; }
Checks if all values in the array are not {@code nulls}.

<p>
If any value is {@code null} or the array is {@code null} then
{@code false} is returned. If all elements in array are not
{@code null} or the array is empty (contains no elements) {@code true}
is returned.
</p>

<pre>
ObjectUtils.allNotNull(*)             = true
ObjectUtils.allNotNull(*, *)          = true
ObjectUtils.allNotNull(null)          = false
ObjectUtils.allNotNull(null, null)    = false
ObjectUtils.allNotNull(null, *)       = false
ObjectUtils.allNotNull(*, null)       = false
ObjectUtils.allNotNull(*, *, null, *) = false
</pre>

@param values  the values to test, may be {@code null} or empty
@return {@code false} if there is at least one {@code null} value in the array or the array is {@code null},
{@code true} if all values in the array are not {@code null}s or array contains no elements.
@since 3.5