public class LiveIntervalEnumeration extends Object implements Enumeration<LiveIntervalElement>
Note: This is fragile. Use with care iff you know what you're doing. TODO: redesign the way live info is stored on the IR to be a bit more robust.
Modifier and Type | Field and Description |
---|---|
private LiveIntervalElement |
currentElement |
Constructor and Description |
---|
LiveIntervalEnumeration(LiveIntervalElement first) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
LiveIntervalElement |
nextElement() |
private LiveIntervalElement currentElement
public LiveIntervalEnumeration(LiveIntervalElement first)
first
- The first live interval in a list to be enumeratedpublic boolean hasMoreElements()
hasMoreElements
in interface Enumeration<LiveIntervalElement>
public LiveIntervalElement nextElement()
nextElement
in interface Enumeration<LiveIntervalElement>