Here you can find the source of differentNull(Collection collection)
@SuppressWarnings("rawtypes") public static Boolean differentNull(Collection collection)
//package com.java2s; //License from project: Open Source License import java.util.Collection; public class Main { public static Boolean differentNull(Object object) { return object != null; }/* w w w . java 2 s.co m*/ @SuppressWarnings("rawtypes") public static Boolean differentNull(Collection collection) { return collection != null; } }