Java tutorial
//package com.java2s; import java.util.List; public class Main { public final static <T> boolean isEmptyList(List<T> aList) { if (null == aList || 0 == aList.size()) { return true; } return false; } }