MCPcopy Create free account
hub / github.com/google/re2j / isUpper

Method isUpper

java/com/google/re2j/Unicode.java:72–78  ·  view source on GitHub ↗
(int r)

Source from the content-addressed store, hash-verified

70
71 // isUpper reports whether the rune is an upper case letter.
72 static boolean isUpper(int r) {
73 // See comment in isGraphic.
74 if (r <= MAX_LATIN1) {
75 return Character.isUpperCase((char) r);
76 }
77 return is(UnicodeTables.Upper, r);
78 }
79
80 // isPrint reports whether the rune is printable (Unicode L/M/N/P/S or ' ').
81 static boolean isPrint(int r) {

Callers 1

appliesMethod · 0.95

Calls 1

isMethod · 0.95

Tested by 1

appliesMethod · 0.76