All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eurodyn.qlack.commons.collections.QlackCollectionUtils Maven / Gradle / Ivy

package com.eurodyn.qlack.commons.collections;

import java.util.Collection;

/**
 * @author European Dynamics
 */
public class QlackCollectionUtils {

  private QlackCollectionUtils() {
  }

  /**
   * Returns true if this collection Collection is not null and contains no elements.
   *
   * @param c - the collection
   * @return boolean - true or false
   */
  public static boolean isEmpty(Collection c) {
    return ((c != null) && (c.isEmpty()));
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy