Here you can find the source of isEmpty(Object[] array)
public static boolean isEmpty(Object[] array)
//package com.java2s; //License from project: Apache License import java.util.Collection; import java.util.List; public class Main { public static boolean isEmpty(Collection collection) { if (collection == null) return true; return collection.isEmpty(); }//from w w w . ja va 2s . c o m public static boolean isEmpty(Object[] array) { if (array == null || array.length == 0) { return true; } return false; } public static boolean isEmpty(List list) { if (list == null) return true; return list.isEmpty(); } }