Here you can find the source of ascii(final int c)
Parameter | Description |
---|---|
c | the c |
public static char ascii(final int c)
//package com.java2s; public class Main { /**//from ww w. j av a 2 s . c o m * ASCII. * * @param c * the c * @return the char */ public static char ascii(final int c) { return (char) ((c) <= 9 ? (c) + '0' : (c) + 'A' - 0xA); } }