Java Collection Check isBlank(final Collection collection)

Here you can find the source of isBlank(final Collection collection)

Description

is Blank

License

Open Source License

Declaration

public static final <T> boolean isBlank(final Collection<T> collection) 

Method Source Code


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

import java.util.Collection;

public class Main {
    public static final <T> boolean isBlank(final Collection<T> collection) {
        return (collection == null) || isEmpty(collection);
    }//  ww w .  j a v a  2 s .  com

    public static final <T> boolean isEmpty(final Collection<T> collection) {
        return (collection == null) || collection.isEmpty();
    }
}

Related

  1. isBlank(Collection coll)
  2. isBlank(Collection c)
  3. isBlank(Collection c)
  4. isBlank(Collection collection)
  5. isBlank(final Collection c)
  6. isBlankAll(Collection... collections)
  7. isC2InC1(Collection c1, Collection c2)
  8. isClassCollection(Class c)
  9. isClassCollection(Class c)