|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectspiglet.translate.graph.Liveness.LiveRange
public class Liveness.LiveRange
Defines the data structure for a live range of a variable, with the natural ordering based on start point.
| Method Summary | |
|---|---|
int |
compareTo(Liveness.LiveRange o)
The natural ordering of a live range is by its start point (ascending). |
int |
getEnd()
Returns the end number of the live range. |
int |
getStart()
Returns the start number of the live range. |
T |
getVar()
Returns the variable of this range. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public T getVar()
public int getStart()
public int getEnd()
public int compareTo(Liveness.LiveRange o)
compareTo in interface java.lang.Comparable<Liveness.LiveRange>o - the compared live range
o. Negative is larger, and zero otherwise.public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||