Here you can find the source of toHexChar(int paramInt)
private static char toHexChar(int paramInt)
//package com.java2s; //License from project: Open Source License public class Main { private static char toHexChar(int paramInt) { return (char) (paramInt + (paramInt < 10 ? 48 : 55)); }//from www . j a v a2 s. c o m }