Here you can find the source of isNotNull(Collection> coll)
public static boolean isNotNull(Collection<?> coll)
//package com.java2s; import java.util.Collection; public class Main { public static boolean isNotNull(Collection<?> coll) { return !isNull(coll); }//from w ww. j a v a 2 s . c om public static boolean isNull(Collection<?> coll) { if (coll == null) { return true; } if (coll.size() == 0) { return true; } return false; } }