Here you can find the source of hasNulls(String... strings)
public static Boolean hasNulls(String... strings)
//package com.java2s; //License from project: Apache License public class Main { public static Boolean hasNulls(String... strings) { for (String s : strings) { if (isEmpty(s)) { return true; }/* w w w . j a va 2s . c o m*/ } return false; } public static Boolean isEmpty(String str) { return (str == null || str.isEmpty()); } }