@Test public void isNotNullOrEmptyString() { for (final String empty : EMPTY_STRINGS) { assertFalse(Strings.isNotNullOrEmptyString(empty)); } for (final String empty : NOT_EMPTY_STRINGS) { assertTrue(Strings.isNotNullOrEmptyString(empty)); } }
public static boolean isNotNullOrEmptyString(final String value) { return value != null && value.trim().length() != 0; }
Strings { public static boolean isNotNullOrEmptyString(final String value) { return value != null && value.trim().length() != 0; } }
Strings { public static boolean isNotNullOrEmptyString(final String value) { return value != null && value.trim().length() != 0; }  }
Strings { public static boolean isNotNullOrEmptyString(final String value) { return value != null && value.trim().length() != 0; }  static boolean isNotNullOrEmptyString(final String value); static boolean isNullOrEmptyString(final String value); static int asInt(final String value, final int defaultValue); }
Strings { public static boolean isNotNullOrEmptyString(final String value) { return value != null && value.trim().length() != 0; }  static boolean isNotNullOrEmptyString(final String value); static boolean isNullOrEmptyString(final String value); static int asInt(final String value, final int defaultValue); static final String EMPTY_STRING; }