Java List Null Empty isEmptyList(List inputList)

Here you can find the source of isEmptyList(List inputList)

Description

To check whether the list is empty.

License

Apache License

Parameter

Parameter Description
inputList a parameter

Declaration

@SuppressWarnings("rawtypes")
public static boolean isEmptyList(List inputList) 

Method Source Code

//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();
    }
}

Related

  1. isEmpty(List list)
  2. isEmpty(List aList)
  3. isEmpty(List list)
  4. isEmpty(List objList)
  5. isEmpty(List sourceList)
  6. isEmptyList(List list)
  7. isHelp(List args, boolean valOnEmpty)
  8. isListElementsEmpty(final List l)
  9. isListEmpty(final List list)