Record Class ElfInfoItem.ItemWithAddress<T>
java.lang.Object
java.lang.Record
ghidra.app.util.bin.format.elf.info.ElfInfoItem.ItemWithAddress<T>
- Enclosing interface:
ElfInfoItem
-
Constructor Summary
ConstructorDescriptionItemWithAddress
(T item, Address address) Creates an instance of aItemWithAddress
record class. -
Method Summary
Modifier and TypeMethodDescriptionaddress()
Returns the value of theaddress
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.item()
Returns the value of theitem
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ItemWithAddress
Creates an instance of aItemWithAddress
record class.- Parameters:
item
- the value for theitem
record componentaddress
- the value for theaddress
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
item
Returns the value of theitem
record component.- Returns:
- the value of the
item
record component
-
address
Returns the value of theaddress
record component.- Returns:
- the value of the
address
record component
-