Java tutorial
//package com.java2s; import android.text.TextUtils; public class Main { public static boolean isNotEmpty(String s) { return !isEmpty(s); } public static boolean isEmpty(String s) { return TextUtils.isEmpty(s); } }