Java Array Value Any anyNulls(Object... items)

Here you can find the source of anyNulls(Object... items)

Description

any Nulls

License

Open Source License

Declaration

public static boolean anyNulls(Object... items) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static boolean anyNulls(Object... items) {
        for (Object item : items) {
            if (item == null) {
                return true;
            }/*  w  w w. j av  a 2  s.  c  om*/
        }
        return false;
    }
}

Related

  1. anyNotNull(Object... tests)
  2. anyNull(Object... args)
  3. anyNull(Object... args)
  4. anyNull(Object... objects)
  5. anyNull(Object... objs)
  6. anyToDoubleOrElse(Object any, double orElse)
  7. anyToString(Object o, boolean noneNull)
  8. anyTrue(boolean[] booleans)
  9. anyTrue(boolean[] booleans)