Package ghidra.program.model.symbol
Class AddressLabelPair
- java.lang.Object
-
- ghidra.program.model.symbol.AddressLabelPair
-
- All Implemented Interfaces:
java.io.Serializable
public final class AddressLabelPair extends java.lang.Object implements java.io.Serializable
Container for holding an address and label.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddressLabelPair(Address addr, java.lang.String label)
Creates a newAddressLabelPair
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Address
getAddress()
Returns the address.java.lang.String
getLabel()
Returns the label.
-
-
-
Constructor Detail
-
AddressLabelPair
public AddressLabelPair(Address addr, java.lang.String label)
Creates a newAddressLabelPair
.- Parameters:
addr
- the addresslabel
- the label
-
-
Method Detail
-
getAddress
public Address getAddress()
Returns the address.
-
getLabel
public java.lang.String getLabel()
Returns the label.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
-