joeq.Compiler.BytecodeAnalysis
Class ExceptionHandlerIterator

java.lang.Object
  extended by joeq.Compiler.BytecodeAnalysis.ExceptionHandlerIterator
All Implemented Interfaces:
Iterator, ListIterator

public class ExceptionHandlerIterator
extends Object
implements ListIterator

Iterator for exception handlers in a bytecode CFG.

Version:
$Id: ExceptionHandlerIterator.java 2282 2005-05-28 11:14:27Z joewhaley $
Author:
John Whaley

Constructor Summary
ExceptionHandlerIterator(List exs, ExceptionHandlerList parent)
          Creates new ExceptionHandlerIterator
 
Method Summary
 void add(Object o)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 Object next()
           
 ExceptionHandler nextEH()
           
 int nextIndex()
           
static ExceptionHandlerIterator nullIterator()
           
 ExceptionHandler prevEH()
           
 Object previous()
           
 int previousIndex()
           
 void remove()
           
 void set(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandlerIterator

public ExceptionHandlerIterator(List exs,
                                ExceptionHandlerList parent)
Creates new ExceptionHandlerIterator

Method Detail

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface ListIterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator
Specified by:
hasNext in interface ListIterator

previous

public Object previous()
Specified by:
previous in interface ListIterator

next

public Object next()
Specified by:
next in interface Iterator
Specified by:
next in interface ListIterator

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface ListIterator

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface ListIterator

remove

public void remove()
Specified by:
remove in interface Iterator
Specified by:
remove in interface ListIterator

set

public void set(Object o)
Specified by:
set in interface ListIterator

add

public void add(Object o)
Specified by:
add in interface ListIterator

prevEH

public ExceptionHandler prevEH()

nextEH

public ExceptionHandler nextEH()

nullIterator

public static ExceptionHandlerIterator nullIterator()


Copyright © 2001-2008 John Whaley. All Rights Reserved.