Interface SymbolTableIterator

All Superinterfaces:
AutoCloseable, Iterator<Object>

public interface SymbolTableIterator extends AutoCloseable, Iterator<Object>
Iterator for symbol tables.
Author:
Juergen Baier
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes this iterator.
    long
     
    boolean
    checks for next element true if there is a valid next element, false otherwise.
    returns the next element
    void
     

    Methods inherited from interface java.util.Iterator

    forEachRemaining
  • Method Details

    • hasNext

      boolean hasNext()
      checks for next element true if there is a valid next element, false otherwise.
      Specified by:
      hasNext in interface Iterator<Object>
      Returns:
    • next

      Object next()
      returns the next element
      Specified by:
      next in interface Iterator<Object>
      Returns:
      next element
    • getCode

      long getCode()
      Returns:
      the code of the current element
    • remove

      void remove()
      Specified by:
      remove in interface Iterator<Object>
    • close

      void close()
      Closes this iterator.
      Specified by:
      close in interface AutoCloseable