Java Collection Empty isNotEmptyCollection(Collection collection)

Here you can find the source of isNotEmptyCollection(Collection collection)

Description

is Not Empty Collection

License

Open Source License

Declaration

public static boolean isNotEmptyCollection(Collection<?> collection) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Collection;

public class Main {
    public static boolean isNotEmptyCollection(Collection<?> collection) {
        return !isEmptyCollection(collection);
    }//ww w  .j ava 2s.  c  o m

    public static boolean isEmptyCollection(Collection<?> collection) {
        return null == collection || collection.isEmpty();
    }
}

Related

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