|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.liveness.LiveSetEnumerator
public class LiveSetEnumerator
An enumeration over live set lists
Field Summary | |
---|---|
private LiveSetElement |
current
the current element on this list |
Constructor Summary | |
---|---|
LiveSetEnumerator(LiveSetElement list)
The constructor |
Method Summary | |
---|---|
boolean |
hasMoreElements()
Are there any more elements? |
RegisterOperand |
nextElement()
Returns the next element, if one exists, otherwise throws an exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private LiveSetElement current
Constructor Detail |
---|
public LiveSetEnumerator(LiveSetElement list)
list
- The LiveSetElement
at the head of the list.Method Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<RegisterOperand>
public RegisterOperand nextElement()
nextElement
in interface Enumeration<RegisterOperand>
NoSuchElementException
- if no next element exists
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |