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;
import java.util.Map;

public class Main {

    public static boolean isEmpty(Map<?, ?> c) {

        return c == null || c.isEmpty();
    }//ww w  .java  2  s.  com

    public static boolean isEmpty(Collection<?> c) {

        return c == null || c.isEmpty();
    }
}

Related

  1. isEmpty(Collection collection)
  2. isEmpty(Collection items)
  3. isEmpty(Collection list)
  4. isEmpty(Collection v)
  5. isEmpty(Collection col)
  6. isEmpty(Collection c)
  7. isEmpty(Collection c)
  8. isEmpty(Collection col)
  9. isEmpty(Collection col)