public static <E>boolean isEmpty(CharSequence c){
  return (c == null) || c.length() == 0;
}

public static < E > boolean isEmpty ( CharSequence c ) { return ( c == null ) || c . length ( ) == 0 ; }
check whether charsequence c is empty .
