Java List Null Empty isEmptyList(List list)

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

Description

is Empty List

License

Open Source License

Declaration

public static boolean isEmptyList(List list) 

Method Source Code


//package com.java2s;
import java.util.List;

public class Main {
    public static boolean isEmptyList(List list) {
        if (list != null && list.size() > 0) {
            return false;
        } else {//from w  ww  .java2s. com
            return true;
        }
    }
}

Related

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