Here you can find the source of intToChar(int i)
private static char intToChar(int i)
//package com.java2s; //License from project: Open Source License public class Main { private static char intToChar(int i) { if (i < 36) return Character.forDigit(i, 36); else//w w w .ja va 2s . co m return Character.toUpperCase(Character.forDigit(i - 26, 36)); } }