Here you can find the source of replace(int codePoint, int firstCharacterInGroup, List
private static String replace(int codePoint, int firstCharacterInGroup, List<String> referenceList)
//package com.java2s; //License from project: Apache License import java.util.List; public class Main { private static String replace(int codePoint, int firstCharacterInGroup, List<String> referenceList) { int relative = codePoint - firstCharacterInGroup; int taget = relative % referenceList.size(); return referenceList.get(taget); }//from www.ja va 2s.c o m }