List of utility methods to do Char Upper Case
byte | toUpperCase(byte b) to Upper Case return (byte) Character.toUpperCase((char) b); |
byte[] | toUpperCase(byte[] in) to Upper Case byte[] out = new byte[in.length]; for (int i = 0; i < in.length; i++) { out[i] = toUpperCase(in[i]); return out; |
char | toUpperCase(char a) A toUpperCase routine which is faster to process the ASCII lowercase letters than Character.toUpperCase. if (a < 'a') { return a; if (a >= 'a' && a <= 'z') { return (char) (a + ('A' - 'a')); return Character.toUpperCase(a); |
char | toUpperCase(char a) to Upper Case return Character.toUpperCase(a);
|
char | toUpperCase(char a) to Upper Case if (a < 'a') { return a; if (a >= 'a' && a <= 'z') { return (char) (a + ('A' - 'a')); return Character.toUpperCase(a); |
char | toUpperCase(char c) to Upper Case return Character.toUpperCase(stripDiacritic(c));
|
char | toUpperCase(char c) to Upper Case return isLowerCase(c) ? (char) (c - 'a' + 'A') : c; |
char | toUpperCase(char c) to Upper Case return isLowerCase(c) ? (char) (c - alphaStep) : c; |
char | toUpperCase(char ch) to Upper Case StringBuffer sb = new StringBuffer(); sb.append(ch); char[] arr = sb.toString().toUpperCase().toCharArray(); return arr[0]; |
char | toUpperCase(char input) to Upper Case if (input >= 'a' && input <= 'z') { input -= 32; return input; |