Here you can find the source of isListEmpty(List oneList)
public static Boolean isListEmpty(List oneList)
//package com.java2s; //License from project: Open Source License import java.util.*; public class Main { public static Boolean isListEmpty(List oneList) { if (oneList == null || oneList.isEmpty()) { return true; }// ww w . j a v a 2 s.c om return false; } }