.dex file.
| Modifier and Type | Field and Description |
|---|---|
| private final TreeMap | strings
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IndexedItem | get(Constant
non-null; constant to look forImplements abstract org. Constant.
|
| public int | |
| public StringIdItem | |
| public StringIdItem | |
| public StringIdItem | Returns: non-null; the interned stringnon-null; the string to internInterns an element into this instance. |
| public void | |
| public Collection | items()
Implements abstract org. |
| protected void | orderItems()
Implements abstract org. items will yield a
so-ordered collection.
|
| public void | writeHeaderPart(AnnotatedOutput
non-null; where to writeWrites the portion of the file header that refers to this instance. |
| strings | back to summary |
|---|---|
| private final TreeMap<CstString, StringIdItem> strings
| |
| StringIdsSection | back to summary |
|---|---|
| public StringIdsSection(DexFile file) Constructs an instance. The file offset is initially unknown.
| |
| get | back to summary |
|---|---|
| public IndexedItem get(Constant cst) Implements abstract org. Doc from org. Gets the item corresponding to the given
| |
| indexOf | back to summary |
|---|---|
| public int indexOf(CstString string) Gets the index of the given string, which must have been added to this instance.
| |
| intern | back to summary |
|---|---|
| public StringIdItem intern(String string) Interns an element into this instance.
| |
| intern | back to summary |
|---|---|
| public StringIdItem intern(CstString string) Interns an element into this instance.
| |
| intern | back to summary |
|---|---|
| public StringIdItem intern(StringIdItem string) Interns an element into this instance.
| |
| intern | back to summary |
|---|---|
| public void intern(CstNat nat) Interns the components of a name-and-type into this instance.
| |
| items | back to summary |
|---|---|
| public Collection Implements abstract org. Doc from org. Gets the collection of all the items in this section. It is not valid to attempt to change the returned list.
| |
| orderItems | back to summary |
|---|---|
| protected void orderItems() Implements abstract org. Doc from org. Alters or picks the order for items in this instance if desired,
so that subsequent calls to
| |
| writeHeaderPart | back to summary |
|---|---|
| public void writeHeaderPart(AnnotatedOutput out) Writes the portion of the file header that refers to this instance.
| |