Package com.ibm.icu.util
Class CodePointTrie.Small32
- java.lang.Object
-
- com.ibm.icu.util.CodePointMap
-
- com.ibm.icu.util.CodePointTrie
-
- com.ibm.icu.util.CodePointTrie.Small
-
- com.ibm.icu.util.CodePointTrie.Small32
-
- All Implemented Interfaces:
java.lang.Iterable<CodePointMap.Range>
- Enclosing class:
- CodePointTrie
public static final class CodePointTrie.Small32 extends CodePointTrie.Small
A CodePointTrie withCodePointTrie.Type.SMALL
andCodePointTrie.ValueWidth.BITS_32
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.ibm.icu.util.CodePointTrie
CodePointTrie.Fast, CodePointTrie.Fast16, CodePointTrie.Fast32, CodePointTrie.Fast8, CodePointTrie.Small, CodePointTrie.Small16, CodePointTrie.Small32, CodePointTrie.Small8, CodePointTrie.Type, CodePointTrie.ValueWidth
-
Nested classes/interfaces inherited from class com.ibm.icu.util.CodePointMap
CodePointMap.Range, CodePointMap.RangeOption, CodePointMap.StringIterator, CodePointMap.ValueFilter
-
-
Field Summary
-
Fields inherited from class com.ibm.icu.util.CodePointTrie
CP_PER_INDEX_2_ENTRY, data, dataLength, FAST_DATA_BLOCK_LENGTH, FAST_SHIFT, highStart, INDEX_2_BLOCK_LENGTH, INDEX_2_MASK, INDEX_3_BLOCK_LENGTH, NO_DATA_NULL_OFFSET, NO_INDEX3_NULL_OFFSET, SHIFT_1_2, SHIFT_2_3, SHIFT_3, SMALL_DATA_BLOCK_LENGTH, SMALL_DATA_MASK, SMALL_LIMIT
-
-
Constructor Summary
Constructors Constructor Description Small32(char[] index, int[] data32, int highStart, int index3NullOffset, int dataNullOffset)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CodePointTrie.Small32
fromBinary(java.nio.ByteBuffer bytes)
Creates a trie from its binary form.-
Methods inherited from class com.ibm.icu.util.CodePointTrie.Small
cpIndex, fromBinary, getType, stringIterator
-
Methods inherited from class com.ibm.icu.util.CodePointTrie
asciiGet, fastIndex, fromBinary, get, getRange, getValueWidth, smallIndex, toBinary
-
Methods inherited from class com.ibm.icu.util.CodePointMap
getRange, iterator
-
-
-
-
Method Detail
-
fromBinary
public static CodePointTrie.Small32 fromBinary(java.nio.ByteBuffer bytes)
Creates a trie from its binary form. Same asCodePointTrie.fromBinary(Type, ValueWidth, ByteBuffer)
withCodePointTrie.Type.SMALL
andCodePointTrie.ValueWidth.BITS_32
.- Parameters:
bytes
- a buffer containing the binary data of a CodePointTrie- Returns:
- the trie
-
-