Java List Null Empty isNotEmpty(List list)

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

Description

is Not Empty

License

Open Source License

Declaration

public static boolean isNotEmpty(List<?> list) 

Method Source Code

//package com.java2s;

import java.util.List;

public class Main {

    public static boolean isNotEmpty(List<?> list) {
        return !isEmpty(list);
    }// w w  w  .j a  v  a  2  s.c  om

    public static boolean isEmpty(List<?> list) {
        return null == list || list.isEmpty();
    }
}

Related

  1. isNotEmpty(List list)
  2. isNotEmpty(List list)
  3. isNotEmpty(List values)
  4. isNotEmpty(List input)
  5. isNotEmpty(List input)
  6. isNotEmpty(List value)
  7. isNotEmpty(List list)
  8. isNotEmpty(List list)
  9. isNotEmpty(List list)