uk.ac.man.cs.rainbow.simulator
Class RASMCode.Label

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.simulator.RASMCode.Label
All Implemented Interfaces:
Serializable
Enclosing class:
RASMCode

public static class RASMCode.Label
extends Object
implements Serializable

A label/location in a block of code.

See Also:
Serialized Form

Inner Class Summary
static class RASMCode.Label.Data
          A label as a value that can be referred to by a virtual machine.
 
Constructor Summary
RASMCode.Label(String name, RASMCode code)
           
RASMCode.Label(String name, RASMCode code, int locn)
           
 
Method Summary
 boolean equals(Object o)
           
 RASMCode getCode()
           
 int getLocation()
           
 String getName()
           
 String getQualifiedName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RASMCode.Label

public RASMCode.Label(String name,
                      RASMCode code)

RASMCode.Label

public RASMCode.Label(String name,
                      RASMCode code,
                      int locn)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getCode

public RASMCode getCode()

getLocation

public int getLocation()

getName

public String getName()

getQualifiedName

public String getQualifiedName()

toString

public String toString()
Overrides:
toString in class Object