MCPcopy Index your code
hub / github.com/Tencent/APIJSON / isBigName

Method isBigName

APIJSONORM/src/main/java/apijson/StringUtil.java:626–631  ·  view source on GitHub ↗

判断是否为首字母大写的代码名称 @param s @return

(String s)

Source from the content-addressed store, hash-verified

624 * @return
625 */
626 public static boolean isBigName(String s) {
627 if (s == null || s.isEmpty() || PATTERN_ALPHA_BIG.matcher(s.substring(0, 1)).matches() == false) {
628 return false;
629 }
630 return s.length() <= 1 ? true : PATTERN_NAME.matcher(s.substring(1)).matches();
631 }
632 /**判断是否为首字母小写的代码名称
633 * @param s
634 * @return

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected