Here you can find the source of isBlank(Collection coll)
public static boolean isBlank(Collection coll)
//package com.java2s; //License from project: Apache License import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Set; public class Main { public static boolean isBlank(Collection coll) { return (coll == null || coll.isEmpty()); }//from w ww . j a v a2 s. com public static boolean isBlank(List list) { return (list == null || list.isEmpty()); } public static boolean isBlank(Set set) { return (set == null || set.isEmpty()); } public static boolean isBlank(Map map) { return (map == null || map.isEmpty()); } }