Android Array Empty Check isEmptyArray(Object[] obj)

Here you can find the source of isEmptyArray(Object[] obj)

Description

is Empty Array

Declaration

public static boolean isEmptyArray(Object[] obj) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isEmptyArray(Object[] obj) {
        return isEmptyArray(obj, 1);
    }//w  ww  .j a  va  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(float[] array)
  2. isNotEmpty(int[] array)
  3. isNotEmpty(long[] array)
  4. isNotEmpty(short[] array)
  5. findNonEmptyElement(String... strings)
  6. isEmptyArray(Object[] array, int paramInt)
  7. isByteArrayEmpty(byte[] bytes)