org.crosswire.common.util
Class StackTrace.AbstractStackIterator<T>
java.lang.Object
org.crosswire.common.util.StackTrace.AbstractStackIterator<T>
- 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
level
private int level
- Are there more stack levels
StackTrace.AbstractStackIterator
public StackTrace.AbstractStackIterator()
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:
- Returns the level.
- Throws:
NoSuchElementException