public class ManyThreadRun extends Object
public static long run(int threadNum,
int forNum,
Runnable run)
threadNum - 执行线程数forNum - 每个线程循环执行多少次run - 无参数,无返回的函数接口。非实际线程。Copyright © 2024. All rights reserved.