Java Collection Check isBlank(Collection c)

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

Description

is Blank

License

Open Source License

Declaration

public static boolean isBlank(Collection<?> c) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.*;

public class Main {
    public static boolean isBlank(Collection<?> c) {
        return c == null || c.isEmpty();
    }/*from ww  w  . j a  v a  2 s.  c  o  m*/

    public static boolean isBlank(Map<?, ?> m) {
        return m == null || m.isEmpty();
    }
}

Related

  1. isArrayOrCollection(Object paramObj)
  2. isArrayOrCollection(Object v)
  3. isArrayOrCollection(String type)
  4. isAssignableFrom(final Collection> classes, final Class objectClass)
  5. isBlank(Collection coll)
  6. isBlank(Collection c)
  7. isBlank(Collection collection)
  8. isBlank(final Collection c)
  9. isBlank(final Collection collection)