org.crosswire.common.util
Class StackTrace.AbstractStackIterator<T>

java.lang.Object
  extended by org.crosswire.common.util.StackTrace.AbstractStackIterator<T>
Type Parameters:
T - the type of the object in the stack
All Implemented Interfaces:
Iterator<T>
Enclosing class:
StackTrace

public abstract class StackTrace.AbstractStackIterator<T>
extends Object
implements Iterator<T>

Base class for the real enumeration implementations below


Field Summary
private  int level
          Are there more stack levels
 
Constructor Summary
StackTrace.AbstractStackIterator()
           
 
Method Summary
 int getAndIncrementLevel()
           
 boolean hasNext()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
next
 

Field Detail

level

private int level
Are there more stack levels

Constructor Detail

StackTrace.AbstractStackIterator

public StackTrace.AbstractStackIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T>

remove

public void remove()
Specified by:
remove in interface Iterator<T>

getAndIncrementLevel

public int getAndIncrementLevel()
                         throws NoSuchElementException
Returns:
the level.
Throws:
NoSuchElementException

Copyright ยจ 2003-2015