sun.text.UCompactIntArray Java Examples

The following examples show how to use sun.text.UCompactIntArray. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source Project: jdk1.8-source-analysis   Author: raysonfang   File: RBCollationTables.java    License: Apache License 2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #2
Source Project: dragonwell8_jdk   Author: alibaba   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #3
Source Project: TencentKona-8   Author: Tencent   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #4
Source Project: jdk8u60   Author: chenghanpeng   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #5
Source Project: JDKSourceCode1.8   Author: wupeixuan   File: RBCollationTables.java    License: MIT License 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #6
Source Project: openjdk-jdk8u   Author: AdoptOpenJDK   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #7
Source Project: openjdk-jdk8u-backup   Author: AdoptOpenJDK   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #8
Source Project: Bytecoder   Author: mirkosertic   File: RBCollationTables.java    License: Apache License 2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #9
Source Project: openjdk-jdk9   Author: AdoptOpenJDK   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #10
Source Project: jdk8u-jdk   Author: lambdalab-mirror   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #11
Source Project: Java8CN   Author: Java8-CNAPI-Team   File: RBCollationTables.java    License: Apache License 2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #12
Source Project: hottub   Author: dsrg-uoft   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #13
Source Project: openjdk-8-source   Author: keerath   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #14
Source Project: openjdk-8   Author: bpupadhyaya   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #15
Source Project: jdk8u_jdk   Author: JetBrains   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #16
Source Project: jdk8u-jdk   Author: frohoff   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #17
Source Project: jdk-1.7-annotated   Author: ZhaoX   File: RBCollationTables.java    License: Apache License 2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector cTbl,
                  Vector eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}
 
Example #18
Source Project: jdk8u-dev-jdk   Author: frohoff   File: RBCollationTables.java    License: GNU General Public License v2.0 6 votes vote down vote up
/**
 * This function is used by RBTableBuilder to fill in all the members of this
 * object.  (Effectively, the builder class functions as a "friend" of this
 * class, but to avoid changing too much of the logic, it carries around "shadow"
 * copies of all these variables until the end of the build process and then
 * copies them en masse into the actual tables object once all the construction
 * logic is complete.  This function does that "copying en masse".
 * @param f2ary The value for frenchSec (the French-secondary flag)
 * @param swap The value for SE Asian swapping rule
 * @param map The collator's character-mapping table (the value for mapping)
 * @param cTbl The collator's contracting-character table (the value for contractTable)
 * @param eTbl The collator's expanding-character table (the value for expandTable)
 * @param cFlgs The hash table of characters that participate in contracting-
 *              character sequences (the value for contractFlags)
 * @param mso The value for maxSecOrder
 * @param mto The value for maxTerOrder
 */
void fillInTables(boolean f2ary,
                  boolean swap,
                  UCompactIntArray map,
                  Vector<Vector<EntryPair>> cTbl,
                  Vector<int[]> eTbl,
                  IntHashtable cFlgs,
                  short mso,
                  short mto) {
    frenchSec = f2ary;
    seAsianSwapping = swap;
    mapping = map;
    contractTable = cTbl;
    expandTable = eTbl;
    contractFlags = cFlgs;
    maxSecOrder = mso;
    maxTerOrder = mto;
}