Java tutorial
//package com.java2s; import android.text.TextUtils; public class Main { public static boolean isEmpty(String... strings) { for (String s : strings) { if (TextUtils.isEmpty(s)) { return true; } } return false; } }