Here you can find the source of valueOf(int[] source)
public static String valueOf(int[] source)
//package com.java2s; // License & terms of use: http://www.unicode.org/copyright.html#License public class Main { /**//from w w w . j a v a 2 s .co m * Utility method to take a int[] containing codepoints and return * a string representation with code units. */ public static String valueOf(int[] source) { // TODO: Investigate why this method is not on UTF16 class StringBuilder result = new StringBuilder(source.length); for (int i = 0; i < source.length; i++) { result.appendCodePoint(source[i]); } return result.toString(); } }