avrora.core
Class Program.Location

java.lang.Object
  extended byavrora.core.Program.Location
Direct Known Subclasses:
Program.DataLabel, Program.EEPromLabel, Program.ProgramLabel
Enclosing class:
Program

public class Program.Location
extends java.lang.Object


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)
           
 int hashCode()
           
 boolean isDataSegment()
          The isDataSegment() method returns whether this label refers to the data segment.
 boolean isEEPromSegment()
          The isEEPromSegment() method returns whether this label refers to the eeprom segment.
 boolean isProgramSegment()
          The isProgramSegment() method returns whether this label refers to the program segment.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

address

public final int address
The address field records the address of this label as a byte address.


name

public final java.lang.String name
The name field records the name of this label.

Method Detail

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)

isProgramSegment

public boolean isProgramSegment()
The isProgramSegment() method returns whether this label refers to the program segment.

Returns:
true if this label refers to the program segment; false otherwise

isDataSegment

public boolean isDataSegment()
The isDataSegment() method returns whether this label refers to the data segment.

Returns:
true if this label refers to the data segment; false otherwise

isEEPromSegment

public boolean isEEPromSegment()
The isEEPromSegment() method returns whether this label refers to the eeprom segment.

Returns:
true if this label refers to the eeprom segment; false otherwise

toString

public java.lang.String toString()