|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object joeq.Compiler.Quad.ExceptionHandlerIterator
public class ExceptionHandlerIterator
Iterator for iterating through exception handlers. Compatible with ListIterator.
ListIterator
,
ExceptionHandler
Field Summary | |
---|---|
static ExceptionHandlerIterator |
EMPTY
The empty basic block iterator. |
Constructor Summary | |
---|---|
ExceptionHandlerIterator(ExceptionHandlerList ehs)
Creates new ExceptionHandlerIterator. |
Method Summary | |
---|---|
void |
add(Object o)
Throws UnsupportedOperationException. |
static ExceptionHandlerIterator |
getEmptyIterator()
Return an empty, unmodifiable iterator. |
boolean |
hasNext()
Returns true if this iterator has a next element. |
boolean |
hasPrevious()
Returns true if this iterator has a previous element. |
Object |
next()
Returns the next element of this iterator. |
ExceptionHandler |
nextExceptionHandler()
Returns the next element of this iterator, avoiding the cast. |
int |
nextIndex()
Returns the index of the next element of this iterator. |
Object |
previous()
Returns the previous element of this iterator. |
ExceptionHandler |
previousExceptionHandler()
Returns the previous element of this iterator, avoiding the cast. |
int |
previousIndex()
Returns the index of the previous element of this iterator. |
void |
remove()
Throws UnsupportedOperationException. |
void |
set(Object o)
Throws UnsupportedOperationException. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ExceptionHandlerIterator EMPTY
Constructor Detail |
---|
public ExceptionHandlerIterator(ExceptionHandlerList ehs)
ehs
- list of exception handlers to iterate through.Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator
hasNext
in interface ListIterator
public Object next()
next
in interface Iterator
next
in interface ListIterator
nextExceptionHandler()
public ExceptionHandler nextExceptionHandler()
nextExceptionHandler
in interface ListIterator.ExceptionHandler
next()
public int nextIndex()
nextIndex
in interface ListIterator
public boolean hasPrevious()
hasPrevious
in interface ListIterator
public Object previous()
previous
in interface ListIterator
previousExceptionHandler()
public ExceptionHandler previousExceptionHandler()
previousExceptionHandler
in interface ListIterator.ExceptionHandler
previous()
public int previousIndex()
previousIndex
in interface ListIterator
public void remove()
remove
in interface Iterator
remove
in interface ListIterator
UnsupportedOperationException
- alwayspublic void set(Object o)
set
in interface ListIterator
UnsupportedOperationException
- alwayspublic void add(Object o)
add
in interface ListIterator
UnsupportedOperationException
- alwayspublic static ExceptionHandlerIterator getEmptyIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |