Missing since tags for StringUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552671 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b9abc0ea17
commit
ad99da0641
|
@ -252,6 +252,7 @@ public static boolean isNotEmpty(final CharSequence cs) {
|
|||
*
|
||||
* @param css the CharSequences to check, may be null or empty
|
||||
* @return {@code true} if any of the CharSequences are empty or null
|
||||
* @since 3.2
|
||||
*/
|
||||
public static boolean isAnyEmpty(CharSequence... css) {
|
||||
if (ArrayUtils.isEmpty(css)) {
|
||||
|
@ -280,6 +281,7 @@ public static boolean isAnyEmpty(CharSequence... css) {
|
|||
*
|
||||
* @param css the CharSequences to check, may be null or empty
|
||||
* @return {@code true} if none of the CharSequences are empty or null
|
||||
* @since 3.2
|
||||
*/
|
||||
public static boolean isNoneEmpty(CharSequence... css) {
|
||||
return !isAnyEmpty(css);
|
||||
|
@ -350,6 +352,7 @@ public static boolean isNotBlank(final CharSequence cs) {
|
|||
*
|
||||
* @param css the CharSequences to check, may be null or empty
|
||||
* @return {@code true} if any of the CharSequences are blank or null or whitespace only
|
||||
* @since 3.2
|
||||
*/
|
||||
public static boolean isAnyBlank(CharSequence... css) {
|
||||
if (ArrayUtils.isEmpty(css)) {
|
||||
|
@ -379,6 +382,7 @@ public static boolean isAnyBlank(CharSequence... css) {
|
|||
*
|
||||
* @param css the CharSequences to check, may be null or empty
|
||||
* @return {@code true} if none of the CharSequences are blank or null or whitespace only
|
||||
* @since 3.2
|
||||
*/
|
||||
public static boolean isNoneBlank(CharSequence... css) {
|
||||
return !isAnyBlank(css);
|
||||
|
|
Loading…
Reference in New Issue