This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private UnsharedNameTable. | hashes
The hash table for names. |
| private int | hashMask
The mask to be used for hashing |
| public int | index
Index counter for names in this table. |
| Access | Constructor and Description |
|---|---|
| public | UnsharedNameTable(Names
The main name table names, int the (constant) size to be used for the hash table
needs to be a power of two. hashSize)Allocator |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static UnsharedNameTable | |
| public void | dispose()
Implements abstract com. Release any resources used by this table. |
| public Name | fromChars(char[] cs, int start, int len)
Implements abstract com. Get the unique |
| public Name | fromUtf(byte[] cs, int start, int len, Convert.
Implements abstract com. Get the unique |
| private Name |
| hashes | back to summary |
|---|---|
| private UnsharedNameTable. The hash table for names. | |
| hashMask | back to summary |
|---|---|
| private int hashMask The mask to be used for hashing | |
| index | back to summary |
|---|---|
| public int index Index counter for names in this table. | |
| UnsharedNameTable | back to summary |
|---|---|
| public UnsharedNameTable(Names names, int hashSize) Allocator
| |
| UnsharedNameTable | back to summary |
|---|---|
| public UnsharedNameTable(Names names) | |
| create | back to summary |
|---|---|
| public static UnsharedNameTable create(Names names) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements abstract com. Doc from com. Release any resources used by this table.
| |
| fromChars | back to summary |
|---|---|
| public Name fromChars(char[] cs, int start, int len) Implements abstract com. Doc from com. Get the unique
| |
| fromUtf | back to summary |
|---|---|
| public Name fromUtf(byte[] cs, int start, int len, Convert. Implements abstract com. Doc from com. Get the unique
| |
| fromValidUtf | back to summary |
|---|---|
| private Name fromValidUtf(byte[] cs, int start, int len) | |