import org.apache.commons.lang3.StringUtils;
/**
*<pre>
* StringUtils.isEmpty(null) = true
* StringUtils.isEmpty("") = true
* StringUtils.isEmpty(" ") = false
* StringUtils.isEmpty("bob") = false
* StringUtils.isEmpty(" bob ") = false
* </pre>
*/
StringUtils.isEmpty(String str)
//@return {@code true} if the CharSequences are equal (case-sensitive), or both {@code null}
StringUtils.equals(final CharSequence cs1, final CharSequence cs2);
‘null==null’ is always ‘true’
import org.apache.commons.collections.CollectionUtils;
// @return true if empty or null
CollectionUtils.isEmpty(Collection coll)