public class ThreadUtility extends Object
| 构造器和说明 |
|---|
ThreadUtility() |
public static <T> CompletableFuture<T> runAsync(Callable<T> callable)
@SafeVarargs public static <T extends Thread> void joinAll(T... threads)
public static void joinAll(Collection<? extends Thread> threads)
public static void sleep(long millis)
Copyright © 2016. All rights reserved.