|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.core.SourceMapping.Location
The Location
class represents a location in the program; either named by
a label, or an unnamed integer address. The location may refer to any of the code, data,
or eeprom segments.
Field Summary | |
int |
address
The address field records the address of this label as a byte address. |
java.lang.String |
name
The name field records the name of this label. |
Method Summary | |
boolean |
equals(java.lang.Object o)
The equals() method compares this location against another object. |
int |
hashCode()
The hashCode() method computes the hash code of this location so that
it can be used in any of the standard collection libraries. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public final int address
address
field records the address of this label as a byte address.
public final java.lang.String name
name
field records the name of this label.
Method Detail |
public int hashCode()
hashCode()
method computes the hash code of this location so that
it can be used in any of the standard collection libraries.
public boolean equals(java.lang.Object o)
equals()
method compares this location against another object. It will return
true if and only if the specified object is an instance of Location
, the addresses
match, and the names match.
o
- the other object to test this location for equality
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |