@Test public void isLowerCamelCase() { assertThat(StringCaseUtils.isLowerCamelCase("")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("A")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("A0")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("Aa")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("AA")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("0")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("00")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("0a")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("0A")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("a")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("a0")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("aa")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("aA")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("a00")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("a0a")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("a0A")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("aa0")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("aaa")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("aaA")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("aaA0")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("aaAa")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("aaAA")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("aaA00")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("aaA0a")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("aaA0A")).isTrue(); assertThat(StringCaseUtils.isLowerCamelCase("_aaA00")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("a_aA00")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("aa_A00")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("aaA_00")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("aaA0_0")).isFalse(); assertThat(StringCaseUtils.isLowerCamelCase("aaA00_")).isFalse(); }
public static boolean isLowerCamelCase(String string) { if (StringUtils.isBlank(string)) { return false; } return LOWER_CAMEL_CASE.matcher(string).matches(); }
StringCaseUtils { public static boolean isLowerCamelCase(String string) { if (StringUtils.isBlank(string)) { return false; } return LOWER_CAMEL_CASE.matcher(string).matches(); } }
StringCaseUtils { public static boolean isLowerCamelCase(String string) { if (StringUtils.isBlank(string)) { return false; } return LOWER_CAMEL_CASE.matcher(string).matches(); } private  StringCaseUtils(); }
StringCaseUtils { public static boolean isLowerCamelCase(String string) { if (StringUtils.isBlank(string)) { return false; } return LOWER_CAMEL_CASE.matcher(string).matches(); } private  StringCaseUtils(); static boolean isLowerCamelCase(String string); static boolean isUpperCamelCase(String string); static boolean isUpperHyphenCase(String string); static boolean isMatchCase(String expectedCase, String string); }
StringCaseUtils { public static boolean isLowerCamelCase(String string) { if (StringUtils.isBlank(string)) { return false; } return LOWER_CAMEL_CASE.matcher(string).matches(); } private  StringCaseUtils(); static boolean isLowerCamelCase(String string); static boolean isUpperCamelCase(String string); static boolean isUpperHyphenCase(String string); static boolean isMatchCase(String expectedCase, String string);  }