9915 * one of the following conditions is true: |
9915 * one of the following conditions is true: |
9916 * <ul> |
9916 * <ul> |
9917 * <li> {@link #isLetter(char) isLetter(ch)} returns {@code true} |
9917 * <li> {@link #isLetter(char) isLetter(ch)} returns {@code true} |
9918 * <li> {@link #getType(char) getType(ch)} returns |
9918 * <li> {@link #getType(char) getType(ch)} returns |
9919 * {@code LETTER_NUMBER}. |
9919 * {@code LETTER_NUMBER}. |
|
9920 * <li> it is an <a href="http://www.unicode.org/reports/tr44/#Other_ID_Start"> |
|
9921 * {@code Other_ID_Start}</a> character. |
9920 * </ul> |
9922 * </ul> |
|
9923 * <p> |
|
9924 * This method conforms to <a href="https://unicode.org/reports/tr31/#R1"> |
|
9925 * UAX31-R1: Default Identifiers</a> requirement of the Unicode Standard, |
|
9926 * with the following profile of UAX31: |
|
9927 * <pre> |
|
9928 * Start := ID_Start + 'VERTICAL TILDE' (U+2E2F) |
|
9929 * </pre> |
|
9930 * {@code 'VERTICAL TILDE'} is added to {@code Start} for backward |
|
9931 * compatibility. |
9921 * |
9932 * |
9922 * <p><b>Note:</b> This method cannot handle <a |
9933 * <p><b>Note:</b> This method cannot handle <a |
9923 * href="#supplementary"> supplementary characters</a>. To support |
9934 * href="#supplementary"> supplementary characters</a>. To support |
9924 * all Unicode characters, including supplementary characters, use |
9935 * all Unicode characters, including supplementary characters, use |
9925 * the {@link #isUnicodeIdentifierStart(int)} method. |
9936 * the {@link #isUnicodeIdentifierStart(int)} method. |
9945 * <ul> |
9956 * <ul> |
9946 * <li> {@link #isLetter(int) isLetter(codePoint)} |
9957 * <li> {@link #isLetter(int) isLetter(codePoint)} |
9947 * returns {@code true} |
9958 * returns {@code true} |
9948 * <li> {@link #getType(int) getType(codePoint)} |
9959 * <li> {@link #getType(int) getType(codePoint)} |
9949 * returns {@code LETTER_NUMBER}. |
9960 * returns {@code LETTER_NUMBER}. |
|
9961 * <li> it is an <a href="http://www.unicode.org/reports/tr44/#Other_ID_Start"> |
|
9962 * {@code Other_ID_Start}</a> character. |
9950 * </ul> |
9963 * </ul> |
|
9964 * <p> |
|
9965 * This method conforms to <a href="https://unicode.org/reports/tr31/#R1"> |
|
9966 * UAX31-R1: Default Identifiers</a> requirement of the Unicode Standard, |
|
9967 * with the following profile of UAX31: |
|
9968 * <pre> |
|
9969 * Start := ID_Start + 'VERTICAL TILDE' (U+2E2F) |
|
9970 * </pre> |
|
9971 * {@code 'VERTICAL TILDE'} is added to {@code Start} for backward |
|
9972 * compatibility. |
|
9973 * |
9951 * @param codePoint the character (Unicode code point) to be tested. |
9974 * @param codePoint the character (Unicode code point) to be tested. |
9952 * @return {@code true} if the character may start a Unicode |
9975 * @return {@code true} if the character may start a Unicode |
9953 * identifier; {@code false} otherwise. |
9976 * identifier; {@code false} otherwise. |
9954 * @see Character#isJavaIdentifierStart(int) |
9977 * @see Character#isJavaIdentifierStart(int) |
9955 * @see Character#isLetter(int) |
9978 * @see Character#isLetter(int) |
9973 * <li> it is a numeric letter (such as a Roman numeral character) |
9996 * <li> it is a numeric letter (such as a Roman numeral character) |
9974 * <li> it is a combining mark |
9997 * <li> it is a combining mark |
9975 * <li> it is a non-spacing mark |
9998 * <li> it is a non-spacing mark |
9976 * <li> {@code isIdentifierIgnorable} returns |
9999 * <li> {@code isIdentifierIgnorable} returns |
9977 * {@code true} for this character. |
10000 * {@code true} for this character. |
|
10001 * <li> it is an <a href="http://www.unicode.org/reports/tr44/#Other_ID_Start"> |
|
10002 * {@code Other_ID_Start}</a> character. |
|
10003 * <li> it is an <a href="http://www.unicode.org/reports/tr44/#Other_ID_Continue"> |
|
10004 * {@code Other_ID_Continue}</a> character. |
9978 * </ul> |
10005 * </ul> |
|
10006 * <p> |
|
10007 * This method conforms to <a href="https://unicode.org/reports/tr31/#R1"> |
|
10008 * UAX31-R1: Default Identifiers</a> requirement of the Unicode Standard, |
|
10009 * with the following profile of UAX31: |
|
10010 * <pre> |
|
10011 * Continue := Start + ID_Continue + ignorable |
|
10012 * Medial := empty |
|
10013 * ignorable := isIdentifierIgnorable(char) returns true for the character |
|
10014 * </pre> |
|
10015 * {@code ignorable} is added to {@code Continue} for backward |
|
10016 * compatibility. |
9979 * |
10017 * |
9980 * <p><b>Note:</b> This method cannot handle <a |
10018 * <p><b>Note:</b> This method cannot handle <a |
9981 * href="#supplementary"> supplementary characters</a>. To support |
10019 * href="#supplementary"> supplementary characters</a>. To support |
9982 * all Unicode characters, including supplementary characters, use |
10020 * all Unicode characters, including supplementary characters, use |
9983 * the {@link #isUnicodeIdentifierPart(int)} method. |
10021 * the {@link #isUnicodeIdentifierPart(int)} method. |
10008 * <li> it is a numeric letter (such as a Roman numeral character) |
10046 * <li> it is a numeric letter (such as a Roman numeral character) |
10009 * <li> it is a combining mark |
10047 * <li> it is a combining mark |
10010 * <li> it is a non-spacing mark |
10048 * <li> it is a non-spacing mark |
10011 * <li> {@code isIdentifierIgnorable} returns |
10049 * <li> {@code isIdentifierIgnorable} returns |
10012 * {@code true} for this character. |
10050 * {@code true} for this character. |
|
10051 * <li> it is an <a href="http://www.unicode.org/reports/tr44/#Other_ID_Start"> |
|
10052 * {@code Other_ID_Start}</a> character. |
|
10053 * <li> it is an <a href="http://www.unicode.org/reports/tr44/#Other_ID_Continue"> |
|
10054 * {@code Other_ID_Continue}</a> character. |
10013 * </ul> |
10055 * </ul> |
|
10056 * <p> |
|
10057 * This method conforms to <a href="https://unicode.org/reports/tr31/#R1"> |
|
10058 * UAX31-R1: Default Identifiers</a> requirement of the Unicode Standard, |
|
10059 * with the following profile of UAX31: |
|
10060 * <pre> |
|
10061 * Continue := Start + ID_Continue + ignorable |
|
10062 * Medial := empty |
|
10063 * ignorable := isIdentifierIgnorable(int) returns true for the character |
|
10064 * </pre> |
|
10065 * {@code ignorable} is added to {@code Continue} for backward |
|
10066 * compatibility. |
|
10067 * |
10014 * @param codePoint the character (Unicode code point) to be tested. |
10068 * @param codePoint the character (Unicode code point) to be tested. |
10015 * @return {@code true} if the character may be part of a |
10069 * @return {@code true} if the character may be part of a |
10016 * Unicode identifier; {@code false} otherwise. |
10070 * Unicode identifier; {@code false} otherwise. |
10017 * @see Character#isIdentifierIgnorable(int) |
10071 * @see Character#isIdentifierIgnorable(int) |
10018 * @see Character#isJavaIdentifierPart(int) |
10072 * @see Character#isJavaIdentifierPart(int) |