java.lang.Object | ||
↳ | sun.text.normalizer.Trie | |
↳ | sun.text.normalizer.CharTrie |
Trie implementation which stores data in char, 16 bits.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CharTrie.FriendAgent | Java friend implementation |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
sun.text.normalizer.Trie
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
sun.text.normalizer.Trie
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new Trie with the settings for the trie data. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the value associated with the codepoint.
| |||||||||||
Gets the value to the data which this lead surrogate character points
to.
| |||||||||||
Get the value associated with a pair of surrogates.
| |||||||||||
Get a value from a folding offset (from the value of a lead surrogate) and a trail surrogate. | |||||||||||
Java friend implementation
To store the index and data array into the argument.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the default initial value
| |||||||||||
Gets the offset to the data which the surrogate pair points to.
| |||||||||||
Gets the value at the argument index.
| |||||||||||
Parses the input stream and stores its trie content into a index and data array |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
sun.text.normalizer.Trie
| |||||||||||
From class
java.lang.Object
|
Creates a new Trie with the settings for the trie data.
Unserialize the 32-bit-aligned input stream and use the data for the trie.
inputStream | file input stream to a ICU data file, containing the trie |
---|---|
dataManipulate | object which provides methods to parse the char data |
IOException | thrown when data reading fails |
---|
Gets the value associated with the codepoint. If no value is associated with the codepoint, a default value will be returned.
ch | codepoint |
---|
Gets the value to the data which this lead surrogate character points to. Returned data may contain folding offset information for the next trailing surrogate character. This method does not guarantee correct results for trail surrogates.
ch | lead surrogate character |
---|
Get the value associated with a pair of surrogates.
lead | a lead surrogate |
---|---|
trail | a trail surrogate |
Get a value from a folding offset (from the value of a lead surrogate) and a trail surrogate.
If the
leadvalue | value associated with the lead surrogate which contains the folding offset |
---|---|
trail | surrogate |
Java friend implementation To store the index and data array into the argument.
friend | java friend UCharacterProperty object to store the array |
---|
Gets the default initial value
Gets the offset to the data which the surrogate pair points to.
lead | lead surrogate |
---|---|
trail | trailing surrogate |
Gets the value at the argument index. For use internally in TrieIterator.
index | value at index will be retrieved |
---|
Parses the input stream and stores its trie content into a index and data array
inputStream | data input stream containing trie data |
---|
IOException | thrown when data reading fails |
---|