MCPcopy Index your code
hub / github.com/davidgiven/luje / Character

Class Character

lib/java/lang/Character.java:49–3697  ·  view source on GitHub ↗

The wrapper for the primitive type char. This class also provides a number of utility methods for working with characters. Character data is based upon the Unicode Standard, 4.0. The Unicode specification, character tables and other information are available at <a href="http://www.unicod

Source from the content-addressed store, hash-verified

47 * @since 1.0
48 */
49public final class Character implements Serializable, Comparable<Character> {
50 private static final long serialVersionUID = 3786198910865385080L;
51
52 private final char value;
53
54 /**
55 * The minimum {@code Character} value.
56 */
57 public static final char MIN_VALUE = '\u0000';
58
59 /**
60 * The maximum {@code Character} value.
61 */
62 public static final char MAX_VALUE = '\uffff';
63
64 /**
65 * The minimum radix used for conversions between characters and integers.
66 */
67 public static final int MIN_RADIX = 2;
68
69 /**
70 * The maximum radix used for conversions between characters and integers.
71 */
72 public static final int MAX_RADIX = 36;
73
74 /**
75 * The {@link Class} object that represents the primitive type {@code char}.
76 */
77 @SuppressWarnings("unchecked")
78 public static final Class<Character> TYPE = (Class<Character>) new char[0]
79 .getClass().getComponentType();
80
81 // Note: This can't be set to "char.class", since *that* is
82 // defined to be "java.lang.Character.TYPE";
83
84 /**
85 * Unicode category constant Cn.
86 */
87 public static final byte UNASSIGNED = 0;
88
89 /**
90 * Unicode category constant Lu.
91 */
92 public static final byte UPPERCASE_LETTER = 1;
93
94 /**
95 * Unicode category constant Ll.
96 */
97 public static final byte LOWERCASE_LETTER = 2;
98
99 /**
100 * Unicode category constant Lt.
101 */
102 public static final byte TITLECASE_LETTER = 3;
103
104 /**
105 * Unicode category constant Lm.
106 */

Callers

nothing calls this directly

Calls 3

getComponentTypeMethod · 0.80
getClassMethod · 0.80
getValueMethod · 0.65

Tested by

no test coverage detected