@Test public void testIsEmpty() throws Exception { Assert.assertTrue(StringTools.isEmpty("")); Assert.assertTrue(StringTools.isEmpty(null)); Assert.assertFalse(StringTools.isEmpty(" ")); }
public static boolean isEmpty(CharSequence sourceSequence) { return sourceSequence == null || sourceSequence.length() == 0; }
StringTools { public static boolean isEmpty(CharSequence sourceSequence) { return sourceSequence == null || sourceSequence.length() == 0; } }
StringTools { public static boolean isEmpty(CharSequence sourceSequence) { return sourceSequence == null || sourceSequence.length() == 0; }  }
StringTools { public static boolean isEmpty(CharSequence sourceSequence) { return sourceSequence == null || sourceSequence.length() == 0; }  static int countMatches(CharSequence sourceSequence, CharSequence subSequence); static boolean isNotBlank(CharSequence sourceSequence); static boolean isBlank(CharSequence sourceSequence); static boolean isEmpty(CharSequence sourceSequence); }
StringTools { public static boolean isEmpty(CharSequence sourceSequence) { return sourceSequence == null || sourceSequence.length() == 0; }  static int countMatches(CharSequence sourceSequence, CharSequence subSequence); static boolean isNotBlank(CharSequence sourceSequence); static boolean isBlank(CharSequence sourceSequence); static boolean isEmpty(CharSequence sourceSequence);  }