Here you can find the source of capitalize(char c)
private static char capitalize(char c)
//package com.java2s; //License from project: GNU General Public License public class Main { private static char capitalize(char c) { return (char) (c - 32); }/*from w w w . ja v a 2 s .c om*/ }