Here you can find the source of isEmptyList(List inputList)
Parameter | Description |
---|---|
inputList | a parameter |
@SuppressWarnings("rawtypes") public static boolean isEmptyList(List inputList)
//package com.java2s; //License from project: Apache License import java.util.List; public class Main { /**//from w ww . j av a 2s. c o m * To check whether the list is empty. * * @param inputList * @return */ @SuppressWarnings("rawtypes") public static boolean isEmptyList(List inputList) { return inputList == null || inputList.isEmpty(); } }