I want to change a String so that all the uppercase characters become lowercase, and all the lower case characters become uppercase. Number characters are just ignored.
Based on Faraz's approach, I think the character conversion can be as simple as:
t += Character.isUpperCase(c) ? Character.toLowerCase(c) : Character.toUpperCase(c);