Java Collection Null isNull(Collection collection)

Here you can find the source of isNull(Collection collection)

Description

is Null

License

Apache License

Declaration

public static boolean isNull(Collection<?> collection) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.util.Collection;

public class Main {

    public static boolean isNull(Collection<?> collection) {
        if (collection == null || collection.isEmpty()) {
            return true;
        }/*from w w  w .j  a va 2 s.co m*/
        return false;
    }
}

Related

  1. isNotNull(Collection collection)
  2. isNull(Collection collection)
  3. isNull(Collection collection)
  4. isNull(Collection c)
  5. isNull(Collection collection)
  6. isNull(Collection collection)
  7. nullSafe(Collection collection)
  8. nullSafe(Collection collection)
  9. nullSafe(Collection in)