The Class Character
The following is the declaration of class java.lang.Character. The important point here is to notice all the routines for classifying a character as an identifier, a digit, etc:
public final class java.lang.Character implements java.io.Serializable, java.lang.Comparable { public java.lang.Character(char); // constructor public static final int MIN_RADIX = 2; public static final int MAX_RADIX = 36; <a id="page_260/">public static final char MIN_VALUE = '\u0000'; public static final char MAX_VALUE = '\uffff'; public static final java.lang.Class TYPE = Class.getPrimitiveClass("char"); public static final byte UNASSIGNED;//about 20 other Unicode types public static final byte UPPERCASE_LETTER ...
Get Just Java™ 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.