MCPcopy
hub / github.com/google/guava / isUpperCase

Method isUpperCase

guava/src/com/google/common/base/Ascii.java:514–516  ·  view source on GitHub ↗

Indicates whether {@code c} is one of the twenty-six uppercase ASCII alphabetic characters between {@code 'A'} and {@code 'Z'} inclusive. All others (including non-ASCII characters) return {@code false}.

(char c)

Source from the content-addressed store, hash-verified

512 * return {@code false}.
513 */
514 public static boolean isUpperCase(char c) {
515 return (c >= 'A') && (c <= 'Z');
516 }
517
518 /**
519 * Truncates the given character sequence to the given maximum length. If the length of the

Callers 7

hasUpperCaseMethod · 0.95
toLowerCaseMethod · 0.95
isUpperCaseMethod · 0.95
testCharsIgnoredMethod · 0.95
testCharsLowerMethod · 0.95
testCharsUpperMethod · 0.95
matchesMethod · 0.45

Calls

no outgoing calls

Tested by 4

isUpperCaseMethod · 0.76
testCharsIgnoredMethod · 0.76
testCharsLowerMethod · 0.76
testCharsUpperMethod · 0.76