org.apache.commons.collections.CollectionUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
RePlay is a fork of the Play1 framework, created by Codeborne.
package org.apache.commons.collections;
import java.util.Collection;
public class CollectionUtils {
public static boolean isEmpty(Collection collection) {
return (collection == null || collection.isEmpty());
}
public static boolean isNotEmpty(Collection collection) {
return !isEmpty(collection);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy