A series of convenience methods are supplied to ease the burden of the developer. Because inlining the checks can improve per character performance, the tables of character properties are public. Using the character as an index into the CHARS
array and applying the appropriate mask flag (e.g. MASK_VALID
), yields the same results as calling the convenience methods. There is one exception: check the comments for the isValid
method for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|