Anonymous
public unlisted java v1 · immutablefor(int i = 0; i < 10; ++i) { threadPool.add(new Thread(runnableObject)); }for(int i = 0; i < 10; ++i) { Thread t = new Thread(threadPool.get(i)); t.start();}for(int i = 0; i < 10; ++i) { threadPool.add(new Thread(runnableObject)); }for(int i = 0; i < 10; ++i) { Thread t = new Thread(threadPool.get(i)); t.start();}