io.github.wj0410.cloudbox.tools.util.ObjectUtil Maven / Gradle / Ivy
The newest version!
package io.github.wj0410.cloudbox.tools.util;
public class ObjectUtil extends cn.hutool.core.util.ObjectUtil {
public static boolean isBlank(Object obj) {
if (obj instanceof String) {
return StringUtils.isBlank((String) obj);
}
return isEmpty(obj);
}
public static boolean isNotBlank(Object obj) {
return !isBlank(obj);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy