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

org.visallo.webster.utils.StringUtils Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.visallo.webster.utils;

public class StringUtils {
    public static boolean isEmpty(String str) {
        return str == null || str.trim().isEmpty();
    }

    public static boolean containsAnEmpty(String[] strings) {
        for (String str : strings) {
            if (StringUtils.isEmpty(str)) {
                return true;
            }
        }
        return false;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy