class CombiningResourceIterator extends CombiningIterator<T> implements ResourceIterator<T> {

    @Override
    public void close()
    {
        for ( ResourceIterator<T> seenIterator : seenIterators )
        {
            seenIterator.close();
        }

        while ( iterators.hasNext() )
        {
            iterators.next().close();
        }
    }

    public  CombiningResourceIterator( Iterator<ResourceIterator<T>> iterators );

}