delay

delay 方法用于将调用线程延迟指定时长。

可见性
Public
特征符
static void delay (timeUnit t);
参数
t

指定以毫秒为单位的延迟时间


反馈