Java Collection Empty isEmpty(Collection collection, String messgae)

Here you can find the source of isEmpty(Collection collection, String messgae)

Description

is Empty

License

Open Source License

Declaration

public static <T> Collection<T> isEmpty(Collection<T> collection, String messgae) 

Method Source Code


//package com.java2s;

import java.util.Collection;

public class Main {
    public static <T> Collection<T> isEmpty(Collection<T> collection, String messgae) {
        if (collection == null || collection.isEmpty()) {
            //TODO: Araz
            throw new IllegalArgumentException(messgae);
        }/*from   ww w.  jav a2s  . c  o  m*/

        return collection;
    }
}

Related

  1. isEmpty(Collection c)
  2. isEmpty(Collection c)
  3. isEmpty(Collection collection)
  4. isEmpty(Collection collection)
  5. isEmpty(Collection collection)
  6. isEmpty(Collection items)
  7. isEmpty(Collection c)
  8. isEmpty(final Collection values)
  9. isEmpty(final Collection coll)