Android Collection Empty Check isEmpty(Collection coll)

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

Description

is Empty

Declaration

public static boolean isEmpty(Collection<?> coll) 

Method Source Code

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

public class Main {

    public static boolean isEmpty(Collection<?> coll) {
        return (coll == null || coll.isEmpty());
    }//from  ww w .j a v  a2s .com
}

Related

  1. isAnyStringEmpty( Collection collection)
  2. isEmpty(Collection collection)
  3. isEmpty(Collection coll)
  4. isEmpty(Collection collection)
  5. isEmpty(Collection collection)
  6. isEmpty(Collection collection)
  7. isEmpty(Collection list)