public final class CollationRootElements extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
IX_FIRST_TERTIARY_INDEX
Index of the first CE with a non-zero tertiary weight.
|
static long |
PRIMARY_SENTINEL
Higher than any root primary.
|
static int |
PRIMARY_STEP_MASK
Mask for getting the primary range step value from a primary-range-end element.
|
static int |
SEC_TER_DELTA_FLAG
Flag in a root element, set if the element contains secondary & tertiary weights,
rather than a primary.
|
| Constructor and Description |
|---|
CollationRootElements(long[] rootElements) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLastCommonSecondary()
Returns the last common secondary weight.
|
int |
getSecondaryBoundary()
Returns the boundary between secondary weights of primary CEs
and those of secondary CEs.
|
int |
getTertiaryBoundary()
Returns the boundary between tertiary weights of primary/secondary CEs
and those of tertiary CEs.
|
public static final long PRIMARY_SENTINEL
public static final int SEC_TER_DELTA_FLAG
public static final int PRIMARY_STEP_MASK
public static final int IX_FIRST_TERTIARY_INDEX
public int getTertiaryBoundary()
public int getLastCommonSecondary()
public int getSecondaryBoundary()