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

com.alibaba.excel.util.CollectionUtils Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
package com.alibaba.excel.util;

import java.util.Collection;
import java.util.Map;

/**
 * Collection utils
 *
 * @author jipengfei
 */
public class CollectionUtils {

    private CollectionUtils() {}

    public static boolean isEmpty(Collection collection) {
        return (collection == null || collection.isEmpty());
    }

    public static boolean isEmpty(Map map) {
        return (map == null || map.isEmpty());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy