org.crosswire.common.util

## Class StackTrace.AbstractStackIterator<T>

- java.lang.Object
- - 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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private int` | `level` Are there more stack levels

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StackTrace.AbstractStackIterator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`