code point 就是unicode编码即那个字符的16进制编码。
NumericValue 不太清楚,但是和code point无关。
package com.snail.character;
public class CodePointTest {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Character A = new Character('A');
System.out.println("Returns the int value that the specified Unicode character represents: "+Character.getNumericValue(A));
System.out.println("***"+Character.codePointBefore("A",1));
}
}
本文介绍了Unicode编码中的codepoint概念及其16进制表示,并通过Java示例代码展示了如何获取特定字符的数值表示。
3637

被折叠的 条评论
为什么被折叠?



