private void initThreads() { threads = new Thread[numThreads]; for (int i = 0; i < numThreads; i++) { ParallelPopulationReaderMatsimV4Runner runner = new ParallelPopulationReaderMatsimV4Runner( this.coordinateTransformation, this.collectorScenario, this.queue); Thread thread = new Thread(runner); thread.setDaemon(true); thread.setName(ParallelPopulationReaderMatsimV4Runner.class.toString() + i); threads[i] = thread; thread.start(); } }
startPerson(((StartTag) tag).atts); this.startTag(tag.name, ((StartTag) tag).atts, tag.context); this.endTag(tag.name, ((EndTag) tag).content, tag.context);