Class PropsVectors
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.impl.PropsVectors
Unicode Properties Vectors associated with code point ranges.
Rows of primitive integers in a contiguous array store the range limits and
the properties vectors.
In each row, row[0] contains the start code point and row[1] contains the
limit code point, which is the start of the next range.
Initially, there is only one range [0..0x110000] with values 0.
It would be possible to store only one range boundary per row, but
self-contained rows allow to later sort them by contents.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompact(PropsVectors.CompactHandler compactor) int[]intintint[]getRow(int rowIndex) intgetRowEnd(int rowIndex) intgetRowStart(int rowIndex) intgetValue(int c, int column) voidsetValue(int start, int end, int column, int value, int mask)
-
Field Details
-
FIRST_SPECIAL_CP
public static final int FIRST_SPECIAL_CP- See Also:
-
INITIAL_VALUE_CP
public static final int INITIAL_VALUE_CP- See Also:
-
ERROR_VALUE_CP
public static final int ERROR_VALUE_CP- See Also:
-
MAX_CP
public static final int MAX_CP- See Also:
-
INITIAL_ROWS
public static final int INITIAL_ROWS- See Also:
-
MEDIUM_ROWS
public static final int MEDIUM_ROWS- See Also:
-
MAX_ROWS
public static final int MAX_ROWS- See Also:
-
-
Constructor Details
-
PropsVectors
public PropsVectors(int numOfColumns)
-
-
Method Details
-
setValue
public void setValue(int start, int end, int column, int value, int mask) -
getValue
public int getValue(int c, int column) -
getRow
public int[] getRow(int rowIndex) -
getRowStart
public int getRowStart(int rowIndex) -
getRowEnd
public int getRowEnd(int rowIndex) -
compact
-
getCompactedArray
public int[] getCompactedArray() -
getCompactedRows
public int getCompactedRows() -
getCompactedColumns
public int getCompactedColumns() -
compactToTrieWithRowIndexes
-