Java Utililty Methods Char Capitalized Check

List of utility methods to do Char Capitalized Check

Description

The list of methods to do Char Capitalized Check are organized into topic(s).

Method

booleanisCapitalized(char[] token, int start, int end)
Weak check if a token is capitalized - starts with capital letter and next letter is lower case
if (end - start < 2)
    return false;
boolean cc = Character.isLowerCase(token[start + 1]);
return cc && Character.isUpperCase(token[start]);