make/data/characterdata/CharacterData00.java.template
changeset 52979 7384e00d5860
parent 52633 f94ac11610b3
child 55013 8dae495a59e7
--- a/make/data/characterdata/CharacterData00.java.template	Wed Dec 12 13:28:50 2018 +0100
+++ b/make/data/characterdata/CharacterData00.java.template	Tue Dec 11 20:31:18 2018 -0500
@@ -754,6 +754,21 @@
         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);