Java Collection Empty isNotEmpty(Collection collection)

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

Description

is Not Empty

License

Apache License

Declaration

public static boolean isNotEmpty(Collection collection) 

Method Source Code

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

import java.util.Collection;

public class Main {
    public static boolean isNotEmpty(Collection collection) {
        return collection != null && collection.size() != 0;
    }//from ww w .  j av  a2s .  c o m
}

Related

  1. isNotEmpty(Collection collection)
  2. isNotEmpty(Collection collection)
  3. isNotEmpty(Collection collection)
  4. isNotEmpty(Collection collection)
  5. isNotEmpty(Collection collection)
  6. isNotEmpty(Collection collection)
  7. isNotEmpty(Collection collection)
  8. isNotEmpty(Collection list)
  9. isNotEmpty(Collection c)