Java Char Create toChar(int c)

Here you can find the source of toChar(int c)

Description

to Char

License

Open Source License

Declaration

private static String toChar(int c) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    private static final String CHARS = "0123456789ABCDEF";

    private static String toChar(int c) {
        int pos = Math.abs(c);
        return String.valueOf(CHARS.charAt(pos));
    }/*from w  w  w . ja v  a  2 s.  c  o m*/
}

Related

  1. toChar(byte[] buffer)
  2. toChar(byte[] byteArray)
  3. toChar(byte[] bytes)
  4. toChar(byte[] si, boolean isReverseOrder)
  5. toChar(final String bitString)
  6. toChar(int i)
  7. toChar(int i)
  8. toChar(int var)
  9. toChar(int[] arr)