Android Collection Empty Check isEmpty(Collection theCollection)

Here you can find the source of isEmpty(Collection theCollection)

Description

is Empty

License

Open Source License

Declaration

public static boolean isEmpty(Collection<?> theCollection) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Collection;

public class Main {
    public static boolean isEmpty(Collection<?> theCollection) {
        return theCollection == null || theCollection.isEmpty();
    }/*w  ww .  ja va  2  s  .  c om*/
}

Related

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