Package com.ibm.icu.util
Class CodePointTrie.Small8
java.lang.Object
com.ibm.icu.util.CodePointMap
com.ibm.icu.util.CodePointTrie
com.ibm.icu.util.CodePointTrie.Small
com.ibm.icu.util.CodePointTrie.Small8
- All Implemented Interfaces:
Iterable<CodePointMap.Range>
- Enclosing class:
CodePointTrie
A CodePointTrie with
CodePointTrie.Type.SMALL
and CodePointTrie.ValueWidth.BITS_8
.-
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
data, dataLength, highStart
-
Method Summary
Modifier and TypeMethodDescriptionstatic CodePointTrie.Small8
fromBinary
(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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
fromBinary
Creates a trie from its binary form. Same asCodePointTrie.fromBinary(Type, ValueWidth, ByteBuffer)
withCodePointTrie.Type.SMALL
andCodePointTrie.ValueWidth.BITS_8
.- Parameters:
bytes
- a buffer containing the binary data of a CodePointTrie- Returns:
- the trie
-