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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access