1 2 10 11 package java.lang; 12 13 15 16 class CharacterDataPrivateUse { 17 18 static int getProperties(int ch) { 19 return 0; 20 } 21 22 static int getType(int ch) { 23 int offset = ch & 0xFFFF; 24 if (offset == 0xFFFE || offset == 0xFFFF) { 25 return Character.UNASSIGNED; 26 } else { 27 return Character.PRIVATE_USE; 28 } 29 } 30 31 static boolean isLowerCase(int ch) { 32 return false; 33 } 34 35 static boolean isUpperCase(int ch) { 36 return false; 37 } 38 39 static boolean isTitleCase(int ch) { 40 return false; 41 } 42 43 static boolean isDigit(int ch) { 44 return false; 45 } 46 47 static boolean isDefined(int ch) { 48 int offset = ch & 0xFFFF; 49 if (offset == 0xFFFE || offset == 0xFFFF) { 50 return false; 51 } else { 52 return true; 53 } 54 } 55 56 static boolean isLetter(int ch) { 57 return false; 58 } 59 60 static boolean isLetterOrDigit(int ch) { 61 return false; 62 } 63 64 static boolean isSpaceChar(int ch) { 65 return false; 66 } 67 68 69 static boolean isJavaIdentifierStart(int ch) { 70 return false; 71 } 72 73 static boolean isJavaIdentifierPart(int ch) { 74 return false; 75 } 76 77 static boolean isUnicodeIdentifierStart(int ch) { 78 return false; 79 } 80 81 static boolean isUnicodeIdentifierPart(int ch) { 82 return false; 83 } 84 85 static boolean isIdentifierIgnorable(int ch) { 86 return false; 87 } 88 89 static int toLowerCase(int ch) { 90 return ch; 91 } 92 93 static int toUpperCase(int ch) { 94 return ch; 95 } 96 97 static int toTitleCase(int ch) { 98 return ch; 99 } 100 101 static int digit(int ch, int radix) { 102 return -1; 103 } 104 105 static int getNumericValue(int ch) { 106 return -1; 107 } 108 109 static boolean isWhitespace(int ch) { 110 return false; 111 } 112 113 static byte getDirectionality(int ch) { 114 int offset = ch & 0xFFFF; 115 if (offset == 0xFFFE || offset == 0xFFFF) { 116 return Character.DIRECTIONALITY_UNDEFINED; 117 } else { 118 return Character.DIRECTIONALITY_LEFT_TO_RIGHT; 119 } 120 } 121 122 static boolean isMirrored(int ch) { 123 return false; 124 } 125 126 130 131 } 132 133 134 | Popular Tags |