| Modifier and Type | Field and Description |
|---|---|
| private StringDataItem | data
|
| private final CstString | value
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addContents(DexFile
non-null; the file to populateImplements abstract org. DexFile with items from within this instance.
|
| public int | compareTo(Object
the object to be compared. other)Implements java. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public StringDataItem | Returns: null-ok; the associated data object or null
if not yet knownGets the associated data object for this instance, if known. |
| public CstString | |
| public int | |
| public ItemType | itemType()
Implements abstract org. |
| public int | writeSize()
Implements abstract org. |
| public void | writeTo(DexFile
non-null; the file to use for referencenon-null; where to write toImplements abstract org. DexFile to look things up as needed.
|
| data | back to summary |
|---|---|
| private StringDataItem data
| |
| value | back to summary |
|---|---|
| private final CstString value
| |
| StringIdItem | back to summary |
|---|---|
| public StringIdItem(CstString value) Constructs an instance.
| |
| addContents | back to summary |
|---|---|
| public void addContents(DexFile file) Implements abstract org. Doc from org. Populates a Note Subclasses must override this to do something appropriate. | |
| compareTo | back to summary |
|---|---|
| public int compareTo(Object other) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getData | back to summary |
|---|---|
| public StringDataItem getData() Gets the associated data object for this instance, if known.
| |
| getValue | back to summary |
|---|---|
| public CstString getValue() Gets the string value.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| itemType | back to summary |
|---|---|
| public ItemType itemType() Implements abstract org. Doc from org. Returns the item type for this instance. | |
| writeSize | back to summary |
|---|---|
| public int writeSize() Implements abstract org. Doc from org. Gets the size of this instance when written, in bytes.
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(DexFile file, AnnotatedOutput out) Implements abstract org. Doc from org. Writes the representation of this instance to the given data section,
using the given
| |