Lines Matching refs:TypeCode
34 public class TypeCode {
39 public static final TypeCode BOOLEAN = new TypeCode("boolean", 'Z');
40 public static final TypeCode CHAR = new TypeCode("char", 'C');
41 public static final TypeCode FLOAT = new TypeCode("float", 'F');
42 public static final TypeCode DOUBLE = new TypeCode("double", 'D');
43 public static final TypeCode BYTE = new TypeCode("byte", 'B');
44 public static final TypeCode SHORT = new TypeCode("short", 'S');
45 public static final TypeCode INT = new TypeCode("int", 'I');
46 public static final TypeCode LONG = new TypeCode("long", 'J');
47 public static final TypeCode OBJECT = new TypeCode("object", 'L');
48 public static final TypeCode ARRAY = new TypeCode("array", '[');
49 public static final TypeCode VOID = new TypeCode("void", 'V');
51 private static TypeCode basicTypes[] = {
75 * Map a character value to its corresponding TypeCode object.
77 * @param c an character representing a Java TypeCode
78 * @return TypeCode - The TypeCode enumeration object for the given
81 * a valid Java TypeCode.
83 public static TypeCode toTypeCode(char c) {
93 * Map a character value to its corresponding TypeCode object.
95 * @param b a byte representing a Java TypeCode. This value is
97 * TypeCode.
98 * @return TypeCode - The TypeCode enumeration object for the given byte.
100 * a valid Java TypeCode.
102 public static TypeCode toTypeCode(byte b) {
106 private TypeCode(String name, char value) {