Here you can find the source of isEmpty(CharSequence arg)
public static boolean isEmpty(CharSequence arg)
//package com.java2s; public class Main { public static boolean isEmpty(CharSequence arg) { return arg == null || arg.length() == 0; }/* w w w . j a va 2 s.c om*/ }