Class DBCIterator<E>
- java.lang.Object
-
- de.julielab.costosys.dbconnection.DBCIterator<E>
-
- All Implemented Interfaces:
Iterator<E>
- Direct Known Subclasses:
DBCThreadedIterator
public abstract class DBCIterator<E> extends Object implements Iterator<E>
Abstract class for iterators returned by the
DataBaseConnectorwhich hold JDBC Connection objects. This class defines a methodclose()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 voidclose()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
-
-