Java Collection Empty isEmpty(Collection c)

Here you can find the source of isEmpty(Collection c)

Description

is Empty

License

Open Source License

Declaration

public static boolean isEmpty(Collection c) 

Method Source Code


//package com.java2s;
import java.util.Collection;

public class Main {
    public static boolean isEmpty(Collection c) {
        return c == null || c.isEmpty();
    }/*from   w w  w.  jav  a2s . co  m*/
}

Related

  1. isCollectionEmpty(Collection oneCol)
  2. isCollectionEmpty(Collection value)
  3. isCollectionNotEmpty(Collection collection)
  4. isCollectionNullOrEmpty(Collection collection)
  5. isEmpty(Collection c)
  6. isEmpty(Collection c)
  7. isEmpty(Collection c)
  8. isEmpty(Collection c)
  9. isEmpty(Collection col)