Class DBCIterator<E>

  • All Implemented Interfaces:
    java.util.Iterator<E>
    Direct Known Subclasses:
    DBCThreadedIterator

    public abstract class DBCIterator<E>
    extends java.lang.Object
    implements java.util.Iterator<E>

    Abstract class for iterators returned by the DataBaseConnector which hold JDBC Connection objects. This class defines a method close() which should be implemented to free employed resources such as database connections, threads etc.

    Author:
    faessler
    • Constructor Summary

      Constructors 
      Constructor Description
      DBCIterator()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void close()
      Frees resources occupied by this iterator (e.g.
      • 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

        forEachRemaining, hasNext, next, remove
    • Constructor Detail

      • DBCIterator

        public DBCIterator()
    • Method Detail

      • close

        public abstract void close()
        Frees resources occupied by this iterator (e.g. database connections).