mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-13194 Safe tables, make C and Java code closer.
X-SVN-Rev: 41190
This commit is contained in:
parent
962ccb4a48
commit
15d9f3a9ce
1 changed files with 3 additions and 9 deletions
|
@ -1110,15 +1110,9 @@ class RBBITableBuilder {
|
|||
* Synthesize a safe state table from the main state table.
|
||||
*/
|
||||
void buildSafeReverseTable() {
|
||||
// Find safe char class pairs.
|
||||
|
||||
// make a state table row for each trailing class, and map from class to row.
|
||||
|
||||
// For each pair
|
||||
// startRow[p1] = p2
|
||||
// p2row[p2] = stopRow
|
||||
// For each unfilled in cell
|
||||
// set to row corresponding to its column.
|
||||
// Safe Reverse table construction is described in more detail in the corresponding
|
||||
// function in ICU4C, in source/common/rbbitblb.cpp. Not duplicated here because
|
||||
// it is too likely to get out of sync.
|
||||
|
||||
// Each safe pair is stored as two chars in the safePair stringBuilder.
|
||||
StringBuilder safePairs = new StringBuilder();
|
||||
|
|
Loading…
Add table
Reference in a new issue