本文整理汇总了Java中sun.text.UCompactIntArray类的典型用法代码示例。如果您正苦于以下问题:Java UCompactIntArray类的具体用法?Java UCompactIntArray怎么用?Java UCompactIntArray使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
UCompactIntArray类属于sun.text包,在下文中一共展示了UCompactIntArray类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: fillInTables
import sun.text.UCompactIntArray; //导入依赖的package包/类
/**
* 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;
}
示例2: fillInTables
import sun.text.UCompactIntArray; //导入依赖的package包/类
/**
* 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;
}
示例3: fillInTables
import sun.text.UCompactIntArray; //导入依赖的package包/类
/**
* 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;
}