Java Utililty Methods Char Lower Case

List of utility methods to do Char Lower Case

Description

The list of methods to do Char Lower Case are organized into topic(s).

Method

chartoLowerCase(char b)
to Lower Case
return Character.toLowerCase(b);
chartoLowerCase(char c)
to Lower Case
return Character.toLowerCase(stripDiacritic(c));
chartoLowerCase(char c)
Do an ASCII only lower case conversion.
if ('A' <= c && c <= 'Z')
    return (char) (c | 0x20);
else
    return c;
chartoLowerCase(char c)
to Lower Case
return Character.toLowerCase(c);
chartoLowerCase(char ch)
to Lower Case
StringBuffer sb = new StringBuffer();
sb.append(ch);
char[] arr = sb.toString().toLowerCase().toCharArray();
return arr[0];
chartoLowerCase(char ch)
If the character is an upper-case US-ASCII letter, it returns the lower-case version of that letter; otherwise, it just returns the character.
if (ch >= 'A' && ch <= 'Z')
    return (char) (ch | 0x20);
return ch;
voidtoLowerCase(char[] chars)
Convert a string to lower case.
for (int a = 0; a < chars.length; a++) {
    chars[a] = Character.toLowerCase(chars[a]);
booleantoLowerCase(char[] cs)
to Lower Case
boolean b = false;
char c;
int i;
for (i = cs.length - 1; i >= 0; i--) {
    c = toLowerCase(cs[i]);
    if (cs[i] != c) {
        cs[i] = c;
        b = true;
...
booleantoLowerCase(char[] input)
to Lower Case
boolean ch = false;
for (int i = 0; i < input.length; i++) {
    char c = input[i];
    if (c >= 65 && c <= 90) {
        input[i] = (char) (c + 32);
        ch = true;
return ch;
booleantoLowerCase(char[] word, char[] buffer)
Convert to lower case (character-by-character) and save the result into buffer.
return toLowerCase(word, buffer, 0, word.length);