Class CollationDataReader

java.lang.Object
com.ibm.icu.impl.coll.CollationDataReader

final class CollationDataReader extends Object
Collation binary data reader.
  • Field Details

    • IX_INDEXES_LENGTH

      static final int IX_INDEXES_LENGTH
      Number of int indexes. Can be 2 if there are only options. Can be 7 or 8 if there are only options and a script reordering. The loader treats any index>=indexes[IX_INDEXES_LENGTH] as 0.
      See Also:
    • IX_OPTIONS

      static final int IX_OPTIONS
      Bits 31..24: numericPrimary, for numeric collation 23..16: fast Latin format version (0 = no fast Latin table) 15.. 0: options bit set
      See Also:
    • IX_RESERVED2

      static final int IX_RESERVED2
      See Also:
    • IX_RESERVED3

      static final int IX_RESERVED3
      See Also:
    • IX_JAMO_CE32S_START

      static final int IX_JAMO_CE32S_START
      Array offset to Jamo CE32s in ce32s[], or invalid input: '<'0 if none.
      See Also:
    • IX_REORDER_CODES_OFFSET

      static final int IX_REORDER_CODES_OFFSET
      Byte offset to int reorderCodes[].
      See Also:
    • IX_REORDER_TABLE_OFFSET

      static final int IX_REORDER_TABLE_OFFSET
      Byte offset to uint8_t reorderTable[]. Empty table if invalid input: '<'256 bytes (padding only). Otherwise 256 bytes or more (with padding).
      See Also:
    • IX_TRIE_OFFSET

      static final int IX_TRIE_OFFSET
      Byte offset to the collation trie. Its length is a multiple of 8 bytes.
      See Also:
    • IX_RESERVED8_OFFSET

      static final int IX_RESERVED8_OFFSET
      See Also:
    • IX_CES_OFFSET

      static final int IX_CES_OFFSET
      Byte offset to long ces[].
      See Also:
    • IX_RESERVED10_OFFSET

      static final int IX_RESERVED10_OFFSET
      See Also:
    • IX_CE32S_OFFSET

      static final int IX_CE32S_OFFSET
      Byte offset to int ce32s[].
      See Also:
    • IX_ROOT_ELEMENTS_OFFSET

      static final int IX_ROOT_ELEMENTS_OFFSET
      Byte offset to uint32_t rootElements[].
      See Also:
    • IX_CONTEXTS_OFFSET

      static final int IX_CONTEXTS_OFFSET
      Byte offset to UChar *contexts[].
      See Also:
    • IX_UNSAFE_BWD_OFFSET

      static final int IX_UNSAFE_BWD_OFFSET
      Byte offset to char [] with serialized unsafeBackwardSet.
      See Also:
    • IX_FAST_LATIN_TABLE_OFFSET

      static final int IX_FAST_LATIN_TABLE_OFFSET
      Byte offset to char fastLatinTable[].
      See Also:
    • IX_SCRIPTS_OFFSET

      static final int IX_SCRIPTS_OFFSET
      Byte offset to char scripts[].
      See Also:
    • IX_COMPRESSIBLE_BYTES_OFFSET

      static final int IX_COMPRESSIBLE_BYTES_OFFSET
      Byte offset to boolean compressibleBytes[]. Empty table if invalid input: '<'256 bytes (padding only). Otherwise 256 bytes or more (with padding).
      See Also:
    • IX_RESERVED18_OFFSET

      static final int IX_RESERVED18_OFFSET
      See Also:
    • IX_TOTAL_SIZE

      static final int IX_TOTAL_SIZE
      See Also:
    • IS_ACCEPTABLE

      private static final CollationDataReader.IsAcceptable IS_ACCEPTABLE
    • DATA_FORMAT

      private static final int DATA_FORMAT
      See Also:
  • Constructor Details

    • CollationDataReader

      private CollationDataReader()
  • Method Details