Note
Both properties include ASCII as well as non-ASCII, non-Latin-1 code points, and both properties only include BMP code points (no supplementary ones). Pattern_Syntax includes some unassigned code points.
[:Pattern_White_Space:] = [ - \ ]
[:Pattern_Syntax:] = [!-/\:-@\[-\^`\{-~¡-§©«¬® °±¶»¿×÷ ‐-‧‰-‾⁁-⁓⁕-⁞ ←-─-❵➔-⯿⸀- 、-〃〈-〠〰﴾﴿﹅﹆]
| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | |
| private static final byte[] | |
| private static final int[] | |
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: true if there are no Pattern_White_Space or Pattern_Syntax characters in s.Tests whether the CharSequence contains a "pattern identifier", that is, whether it contains only non-Pattern_White_Space, non-Pattern_Syntax characters. |
| public static boolean | Returns: true if there are no Pattern_White_Space or Pattern_Syntax characters in s between start and (exclusive) limit.Tests whether the CharSequence contains a "pattern identifier", that is, whether it contains only non-Pattern_White_Space, non-Pattern_Syntax characters. |
| public static boolean | |
| public static boolean | Returns: true if c is a Pattern_Syntax or Pattern_White_Space code point.
|
| public static boolean | |
| public static int | Returns: The smallest index at or after i with a Pattern_White_Space or Pattern_Syntax character.Skips over a "pattern identifier" starting at index i of the CharSequence. |
| public static int | Returns: The smallest index at or after i with a non-white space character.Skips over Pattern_White_Space starting at index i of the CharSequence. |
| public static String | |
| public static String |
| index2000 | back to summary |
|---|---|
| private static final byte[] index2000 | |
| latin1 | back to summary |
|---|---|
| private static final byte[] latin1 | |
| syntax2000 | back to summary |
|---|---|
| private static final int[] syntax2000 | |
| syntaxOrWhiteSpace2000 | back to summary |
|---|---|
| private static final int[] syntaxOrWhiteSpace2000 | |
| PatternProps | back to summary |
|---|---|
| public PatternProps() | |
| isIdentifier | back to summary |
|---|---|
| public static boolean isIdentifier(CharSequence s) Tests whether the CharSequence contains a "pattern identifier", that is, whether it contains only non-Pattern_White_Space, non-Pattern_Syntax characters.
| |
| isIdentifier | back to summary |
|---|---|
| public static boolean isIdentifier(CharSequence s, int start, int limit) Tests whether the CharSequence contains a "pattern identifier", that is, whether it contains only non-Pattern_White_Space, non-Pattern_Syntax characters.
| |
| isSyntax | back to summary |
|---|---|
public static boolean isSyntax(int c)
| |
| isSyntaxOrWhiteSpace | back to summary |
|---|---|
public static boolean isSyntaxOrWhiteSpace(int c)
| |
| isWhiteSpace | back to summary |
|---|---|
public static boolean isWhiteSpace(int c)
| |
| skipIdentifier | back to summary |
|---|---|
| public static int skipIdentifier(CharSequence s, int i) Skips over a "pattern identifier" starting at index i of the CharSequence.
| |
| skipWhiteSpace | back to summary |
|---|---|
| public static int skipWhiteSpace(CharSequence s, int i) Skips over Pattern_White_Space starting at index i of the CharSequence.
| |
| trimSpaceChar | back to summary |
|---|---|
public static String trimSpaceChar(String s)
| |
| trimWhiteSpace | back to summary |
|---|---|
public static String trimWhiteSpace(String s)
| |