@@ -0,0 +1,470 @@
+package com.hzh.corejava.concurrent;%0A%0Aimport java.util.concurrent.Executors;%0Aimport java.util.concurrent.ThreadFactory;%0A%0A/**%0A * Created by huangzehai on 2017/2/17.%0A */%0Apublic class ThreadFactoryExample %7B%0A    public static void main(String%5B%5D args) %7B%0A        ThreadFactory threadFactory = Executors.defaultThreadFactory();%0A        Thread thread = threadFactory.newThread(() -%3E %7B%0A            System.out.println(%22Do something.%22);%0A        %7D);%0A        thread.start();%0A    %7D%0A%7D%0A

Add ThreadFactory example