You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Christian Sonntag <ch...@lbri.lionbioscience.com> on 2002/12/04 19:15:59 UTC

collections factory iterator question

Hello,

I would like to wrap an iterator around a factory with help of the
commons-collection package
but I would need the factory to have execute some tearDown code (closing db
connections)
after the last element was returned by the iterator.
Is it possible to extend   ListUtils.LazyList to have this functionality?

Thank you for your help,
Christian


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>