public static final class CodePointTrie.Fast8 extends CodePointTrie.Fast
CodePointTrie.Type.FAST and CodePointTrie.ValueWidth.BITS_8.CodePointTrie.Fast, CodePointTrie.Fast16, CodePointTrie.Fast32, CodePointTrie.Fast8, CodePointTrie.Small, CodePointTrie.Small16, CodePointTrie.Small32, CodePointTrie.Small8, CodePointTrie.Type, CodePointTrie.ValueWidthCodePointMap.Range, CodePointMap.RangeOption, CodePointMap.StringIterator, CodePointMap.ValueFilterdata, dataLength, highStart| Modifier and Type | Method and Description |
|---|---|
int |
bmpGet(int c)
Returns a trie value for a BMP code point (U+0000..U+FFFF), without range checking.
|
static CodePointTrie.Fast8 |
fromBinary(java.nio.ByteBuffer bytes)
Creates a trie from its binary form.
|
int |
get(int c)
Returns the value for a code point as stored in the map, with range checking.
|
int |
suppGet(int c)
Returns a trie value for a supplementary code point (U+10000..U+10FFFF),
without range checking.
|
cpIndex, fromBinary, getType, stringIteratorasciiGet, fastIndex, fromBinary, getRange, getValueWidth, smallIndex, toBinarygetRange, iteratorpublic static CodePointTrie.Fast8 fromBinary(java.nio.ByteBuffer bytes)
CodePointTrie.fromBinary(Type, ValueWidth, ByteBuffer)
with CodePointTrie.Type.FAST and CodePointTrie.ValueWidth.BITS_8.bytes - a buffer containing the binary data of a CodePointTriepublic final int get(int c)
get in class CodePointTriec - the code pointpublic final int bmpGet(int c)
bmpGet in class CodePointTrie.Fastc - the input code point, must be U+0000..U+FFFFpublic final int suppGet(int c)
suppGet in class CodePointTrie.Fastc - the input code point, must be U+10000..U+10FFFFCopyright © 2016 Unicode, Inc. and others.