Here you can find the source of emptyOrNull(String str)
public static boolean emptyOrNull(String str)
//package com.java2s; public class Main { public static boolean emptyOrNull(String str) { return str == null || str.length() == 0; }/*w ww.j a v a 2 s . c o m*/ public static boolean emptyOrNull(String... arrStr) { for (String str : arrStr) { if (emptyOrNull(str)) { return true; } } return false; } }