Here you can find the source of int2Char(int i)
public static char int2Char(int i)
//package com.java2s; //License from project: Open Source License public class Main { /** converts from 2-bit representation to character representation *//*ww w.ja va2s. c om*/ public static char int2Char(int i) { switch (i) { case 0: return 'A'; case 1: return 'T'; case 2: return 'G'; case 3: return 'C'; } return 'n'; } }