.NET FrameworkにあるやつをJavaで実装。
文字列がnullか空文字かを調べるメソッド。
Util.java
public static boolean isNullOrEmpty(String str){
return (str == null || str.length() == 0)
}
Go to list of users who liked
More than 5 years have passed since last update.
.NET FrameworkにあるやつをJavaで実装。
文字列がnullか空文字かを調べるメソッド。
public static boolean isNullOrEmpty(String str){
return (str == null || str.length() == 0)
}
Register as a new user and use Qiita more conveniently
Go to list of users who liked