Here you can find the source of isEmpty(Object... obj)
public static boolean isEmpty(Object... obj)
//package com.java2s; //License from project: LGPL import java.util.*; public class Main { public static boolean isEmpty(String string) { return string == null || string.length() == 0 ? true : false; }/* ww w .j a v a 2s.com*/ public static boolean isEmpty(List<?> list) { return list == null || list.size() == 0 ? true : false; } public static boolean isEmpty(Object... obj) { return obj == null || obj.length == 0 ? true : false; } }