結果 : java method to check if string is empty or null