Here you can find the source of integerToString(Integer i)
public static String integerToString(Integer i)
//package com.java2s; //License from project: Apache License public class Main { public static String integerToString(Integer i) { if (i == null) return ("0"); return i.toString(); }//from w w w. j a va 2 s . c om /**{ method @name toString @function convert a char to a string @param c the char @return the String }*/ public static String toString(char c) { StringBuffer s = new StringBuffer(); s.append(c); return (s.toString()); } }