com.github.yooryan.advancequery.toolkit.CollectionUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-advance-query Show documentation
Show all versions of mybatis-advance-query Show documentation
This is a MyBaits plug-in that provides automatic build of advanced query.
package com.github.yooryan.advancequery.toolkit;
import java.util.Collection;
/**
* @author linyunrui
*/
public class CollectionUtils {
public static boolean isEmpty(final Collection> coll) {
return coll == null || coll.isEmpty();
}
}