make/data/characterdata/CharacterData01.java.template
Print this page
*** 458,467 ****
--- 458,482 ----
break;
}
return retval;
}
+ boolean isDigit(int ch) {
+ int props = getProperties(ch);
+ return (props & $$maskType) == Character.DECIMAL_DIGIT_NUMBER;
+ }
+
+ boolean isLowerCase(int ch) {
+ int props = getProperties(ch);
+ return (props & $$maskType) == Character.LOWERCASE_LETTER;
+ }
+
+ boolean isUpperCase(int ch) {
+ int props = getProperties(ch);
+ return (props & $$maskType) == Character.UPPERCASE_LETTER;
+ }
+
boolean isWhitespace(int ch) {
int props = getProperties(ch);
return ((props & $$maskIdentifierInfo) == $$valueJavaWhitespace);
}