java.text
Class RBCollationTables.BuildAPI

java.lang.Object
  extended byjava.text.RBCollationTables.BuildAPI
Enclosing class:
RBCollationTables

final class RBCollationTables.BuildAPI
extends Object


Constructor Summary
private RBCollationTables.BuildAPI()
          Private constructor.
 
Method Summary
(package private)  void fillInTables(boolean f2ary, boolean swap, sun.text.CompactIntArray map, Vector cTbl, Vector eTbl, sun.text.IntHashtable cFlgs, short mso, short mto)
          This function is used by RBTableBuilder to fill in all the members of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RBCollationTables.BuildAPI

private RBCollationTables.BuildAPI()
Private constructor. Prevents anyone else besides RBTableBuilder from gaining direct access to the internals of this class.

Method Detail

fillInTables

void fillInTables(boolean f2ary,
                  boolean swap,
                  sun.text.CompactIntArray map,
                  Vector cTbl,
                  Vector eTbl,
                  sun.text.IntHashtable cFlgs,
                  short mso,
                  short mto)
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".

Parameters:
f2ary - The value for frenchSec (the French-secondary flag)
swap - The value for SE Asian swapping rule
map - The collator's character-mapping table (the value for mapping)
cTbl - The collator's contracting-character table (the value for contractTable)
eTbl - The collator's expanding-character table (the value for expandTable)
cFlgs - The hash table of characters that participate in contracting- character sequences (the value for contractFlags)
mso - The value for maxSecOrder
mto - The value for maxTerOrder