Java Array Empty Check isEmpty(Object[] args)

Here you can find the source of isEmpty(Object[] args)

Description

is Empty

License

Apache License

Declaration

public static boolean isEmpty(Object[] args) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.util.List;

public class Main {
    public static boolean isEmpty(List<String> noCacheMethod) {
        if (noCacheMethod == null || noCacheMethod.size() < 1)
            return true;
        return false;
    }// ww w  . ja  v  a  2  s.co  m

    public static boolean isEmpty(Object[] args) {
        if (args == null || args.length < 1)
            return true;
        return false;
    }
}

Related

  1. isEmpty(final int[] arr)
  2. isEmpty(final Object[] array)
  3. isEmpty(final X[] array)
  4. isEmpty(int[] array)
  5. isEmpty(int[] array)
  6. isEmpty(Object[] arr)
  7. isEmpty(Object[] array)
  8. isEmpty(Object[] array)
  9. isEmpty(Object[] array)