Java Collection Empty isNotEmptyCollection(Object[] objs)

Here you can find the source of isNotEmptyCollection(Object[] objs)

Description

is Not Empty Collection

License

Artistic License

Declaration

public static boolean isNotEmptyCollection(Object[] objs) 

Method Source Code


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

import java.util.List;

public class Main {
    public static boolean isNotEmptyCollection(Object[] objs) {
        return objs != null && objs.length > 0;
    }/*from www.j a v a 2  s . c  o m*/

    public static boolean isNotEmptyCollection(List<?> objs) {
        return objs != null && objs.size() > 0;
    }
}

Related

  1. isNotEmpty(final Collection collection)
  2. isNotEmpty(final Collection collection)
  3. isNotEmpty(final Collection c)
  4. isNotEmpty(T collection, String exceptionMessage)
  5. isNotEmptyCollection(Collection collection)
  6. isNotEmptyException(Collection collection)
  7. isNotEmptyOrNull(Collection collection)
  8. IsNotEmptyOrNull(Collection elements)
  9. isNullOrEmpty(Collection c)