Java Collection Empty isEmptyCollection(Collection col)

Here you can find the source of isEmptyCollection(Collection col)

Description

is Empty Collection

License

Open Source License

Declaration

public static final boolean isEmptyCollection(Collection<?> col) 

Method Source Code


//package com.java2s;

import java.util.Collection;

public class Main {
    public static final boolean isEmptyCollection(Collection<?> col) {
        if (col == null || col.isEmpty()) {
            return true;
        }/*w  ww .  j a v  a2s.  c om*/

        return false;
    }
}

Related

  1. isEmpty(final Collection collection)
  2. isEmpty(final Collection source)
  3. isEmpty(final Collection v)
  4. isEmptyCollection(Collection collection)
  5. isEmptyCollection(Collection list)
  6. isEmptyCollection(Collection collection)
  7. isEmptyCollection(Object obj)
  8. isEmptyCollection(Object object)
  9. isEmptyException(Collection collection)