Here you can find the source of isObjectListEmpty(List list)
Parameter | Description |
---|---|
list | a parameter |
public static boolean isObjectListEmpty(List list)
//package com.java2s; import java.util.List; public class Main { /**/*w w w .ja v a 2 s. co m*/ * * This method returns true if the input list is null or list is empty. * * @param list * @return boolean. */ public static boolean isObjectListEmpty(List list) { return (list == null || list.isEmpty()); } }