判断字符的类型
摘要:
private static CharType getType(char c) { CharType tag; int type = Character.getType(c); if (Character.isLowerCase(c)||Character.isUpperCase(c)){ tag = CharType.L; } else if (c == 12288 || c == 32) {//Character.isWhitespace(c) || Character.isSpaceChar(c) ... 阅读全文
posted @ 2013-09-06 13:53 ywf—java 阅读(588) 评论(0) 推荐(0) 编辑