|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.text.RBCollationTables
This class contains the static state of a RuleBasedCollator: The various tables that are used by the collation routines. Several RuleBasedCollators can share a single RBCollationTables object, easing memory requirements and improving performance.
Nested Class Summary | |
(package private) class |
RBCollationTables.BuildAPI
|
Field Summary | |
(package private) static int |
CONTRACTCHARINDEX
|
private sun.text.IntHashtable |
contractFlags
|
private Vector |
contractTable
|
(package private) static int |
EXPANDCHARINDEX
|
private Vector |
expandTable
|
private boolean |
frenchSec
|
private sun.text.CompactIntArray |
mapping
|
private short |
maxSecOrder
|
private short |
maxTerOrder
|
(package private) static int |
PRIMARYDIFFERENCEONLY
|
(package private) static int |
PRIMARYORDERMASK
|
(package private) static int |
PRIMARYORDERSHIFT
|
private String |
rules
|
private boolean |
seAsianSwapping
|
(package private) static int |
SECONDARYDIFFERENCEONLY
|
(package private) static int |
SECONDARYORDERMASK
|
(package private) static int |
SECONDARYORDERSHIFT
|
(package private) static int |
TERTIARYORDERMASK
|
(package private) static int |
UNMAPPED
|
Constructor Summary | |
RBCollationTables(String rules,
int decmp)
|
Method Summary | |
(package private) Vector |
getContractValues(char ch)
Get the entry of hash table of the contracting string in the collation table. |
(package private) Vector |
getContractValues(int index)
|
(package private) static int |
getEntry(Vector list,
String name,
boolean fwd)
|
(package private) int[] |
getExpandValueList(int order)
Get the entry of hash table of the expanding string in the collation table. |
(package private) int |
getMaxExpansion(int order)
Return the maximum length of any expansion sequences that end with the specified comparison order. |
(package private) short |
getMaxSecOrder()
|
(package private) short |
getMaxTerOrder()
|
String |
getRules()
Gets the table-based rules for the collation object. |
(package private) int |
getUnicodeOrder(char ch)
Get the comarison order of a character from the collation table. |
boolean |
isFrenchSec()
|
boolean |
isSEAsianSwapping()
|
(package private) static void |
reverse(StringBuffer result,
int from,
int to)
Reverse a string. |
(package private) boolean |
usedInContractSeq(char c)
Returns true if this character appears anywhere in a contracting character sequence. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final int EXPANDCHARINDEX
static final int CONTRACTCHARINDEX
static final int UNMAPPED
static final int PRIMARYORDERMASK
static final int SECONDARYORDERMASK
static final int TERTIARYORDERMASK
static final int PRIMARYDIFFERENCEONLY
static final int SECONDARYDIFFERENCEONLY
static final int PRIMARYORDERSHIFT
static final int SECONDARYORDERSHIFT
private String rules
private boolean frenchSec
private boolean seAsianSwapping
private sun.text.CompactIntArray mapping
private Vector contractTable
private Vector expandTable
private sun.text.IntHashtable contractFlags
private short maxSecOrder
private short maxTerOrder
Constructor Detail |
public RBCollationTables(String rules, int decmp) throws ParseException
Method Detail |
public String getRules()
public boolean isFrenchSec()
public boolean isSEAsianSwapping()
Vector getContractValues(char ch)
ch
- the starting character of the contracting stringVector getContractValues(int index)
boolean usedInContractSeq(char c)
int getMaxExpansion(int order)
order
- a collation order returned by previous or next.
CollationElementIterator.getMaxExpansion(int)
final int[] getExpandValueList(int order)
int getUnicodeOrder(char ch)
short getMaxSecOrder()
short getMaxTerOrder()
static void reverse(StringBuffer result, int from, int to)
static final int getEntry(Vector list, String name, boolean fwd)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |