Android Array Empty Check isEmptyArray(Object[] array, int paramInt)

Here you can find the source of isEmptyArray(Object[] array, int paramInt)

Description

is Empty Array

Declaration

public static boolean isEmptyArray(Object[] array, int paramInt) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isEmptyArray(Object[] obj) {
        return isEmptyArray(obj, 1);
    }//  w w  w. ja  v a 2s.c  o  m

    public static boolean isEmptyArray(Object[] array, int paramInt) {
        if ((array == null) || (array.length < paramInt)) {
            return true;
        }
        return false;
    }
}

Related

  1. isNotEmpty(int[] array)
  2. isNotEmpty(long[] array)
  3. isNotEmpty(short[] array)
  4. findNonEmptyElement(String... strings)
  5. isEmptyArray(Object[] obj)
  6. isByteArrayEmpty(byte[] bytes)