Here you can find the source of arrayValid(Object[] objects)
public static boolean arrayValid(Object[] objects)
//package com.java2s; //License from project: Apache License public class Main { public static boolean arrayValid(Object[] objects) { if (objects != null && objects.length > 0) { return true; } else {//from w w w . j a v a 2s. c o m return false; } } }