Method forDigit(int digit, int radix)
Return type: char
Member of:
java.lang.Character
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
char code = Character.forDigit(menu.getMenuComponentCount(), 10);
2
char ch = Character.forDigit((bytes[j] >> 4) & 0xF, 16);
3
char hi = Character.forDigit ((b[i] >> 4) & 0x0F, 16);
4
sb.append(Character.forDigit((int)(l % 26 + 10), 36));
5
sb.append(Character.forDigit((int) ((l >> ((7-i)*4)) & 0xF), 16));
6
char hi = Character.forDigit ((b[i] >> 4) & 0x0F, 16);
7
sb.append(Character.forDigit((hasharray[i] >> 4) & 0x0F, 16));
8
sb.setCharAt(--pos, Character.forDigit(ms % 10, 10));
9
result.append(Character.forDigit((ch >> 4) & 0x0f, 16));
10
result[2 * i] = Character.forDigit(Math.abs(ch >> 4), 16);
11
char ch = Character.forDigit((ba[j] >> 4) & 0xF, 16);
12
{position[0]=java.lang.Character.forDigit(java.lang.Character.digit(startLetter,
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.