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 File: RBCollationTables.java    From jdk8u-jdk with 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 #2
Source File: RBCollationTables.java    From jdk8u-dev-jdk with 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 File: RBCollationTables.java    From jdk-1.7-annotated with 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 #4
Source File: RBCollationTables.java    From jdk8u-jdk with 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 File: RBCollationTables.java    From jdk8u_jdk with 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 #6
Source File: RBCollationTables.java    From openjdk-8 with 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 File: RBCollationTables.java    From openjdk-8-source with 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 File: RBCollationTables.java    From hottub with 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 #9
Source File: RBCollationTables.java    From Java8CN with 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 #10
Source File: RBCollationTables.java    From jdk1.8-source-analysis with 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 #11
Source File: RBCollationTables.java    From openjdk-jdk9 with 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 #12
Source File: RBCollationTables.java    From Bytecoder with 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 #13
Source File: RBCollationTables.java    From openjdk-jdk8u-backup with 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 File: RBCollationTables.java    From openjdk-jdk8u with 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 File: RBCollationTables.java    From JDKSourceCode1.8 with 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 #16
Source File: RBCollationTables.java    From jdk8u60 with 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 File: RBCollationTables.java    From TencentKona-8 with 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 #18
Source File: RBCollationTables.java    From dragonwell8_jdk with 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;
}