public DocInverterPerThread(DocFieldProcessorPerThread docFieldProcessorPerThread, DocInverter docInverter) { this.docInverter = docInverter; docState = docFieldProcessorPerThread.docState; consumer = docInverter.consumer.addThread(this); endConsumer = docInverter.endConsumer.addThread(this); }