当前位置: 首页>>代码示例>>Java>>正文


Java UCompactIntArray类代码示例

本文整理汇总了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;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:35,代码来源:RBCollationTables.java

示例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;
      }
 
开发者ID:jgaltidor,项目名称:VarJ,代码行数:35,代码来源:RBCollationTables.java

示例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;
}
 
开发者ID:ZhaoX,项目名称:jdk-1.7-annotated,代码行数:35,代码来源:RBCollationTables.java


注:本文中的sun.text.UCompactIntArray类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。