Class RBBIDataWrapper.RBBIStateTable
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.impl.RBBIDataWrapper.RBBIStateTable
- Enclosing class:
RBBIDataWrapper
A RBBI State Transition table, the form of the data used at run time in Java.
These can be created from stored ICU data, or built from rules.
The structure corresponds closely to struct RBBIStateTable in ICU4C.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintChar category number of the first dictionary char class, or the the largest category number + 1 if there are no dictionary categories.intOption Flags for this state table.static intLength in bytes of the state table header, of all the int32 fields preceding fTable in the serialized form.intSize of run-time array required for holding look-ahead results.intNumber of states (rows) in this table.intLength of a table row in bytes.char[]Linear array of next state values, accessed as short[state, char_class] -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
fNumStates
public int fNumStatesNumber of states (rows) in this table. -
fRowLen
public int fRowLenLength of a table row in bytes. Note mismatch with table data, which is short[]. -
fDictCategoriesStart
public int fDictCategoriesStartChar category number of the first dictionary char class, or the the largest category number + 1 if there are no dictionary categories. -
fLookAheadResultsSize
public int fLookAheadResultsSizeSize of run-time array required for holding look-ahead results. Indexed by row.fLookAhead. -
fFlags
public int fFlagsOption Flags for this state table. -
fHeaderSize
public static int fHeaderSizeLength in bytes of the state table header, of all the int32 fields preceding fTable in the serialized form. -
fTable
public char[] fTableLinear array of next state values, accessed as short[state, char_class]
-
-
Constructor Details
-
RBBIStateTable
public RBBIStateTable()
-
-
Method Details
-
put
- Throws:
IOException
-
equals
-