摘要:1. Timer简单使用 简单使用: public class TimerTest { public static void main(String[] args) throws InterruptedException { // 创建Timer对象 Timer timer = new Timer(
阅读全文
随笔分类 - 定时任务
摘要:1. Timer简单使用 简单使用: public class TimerTest { public static void main(String[] args) throws InterruptedException { // 创建Timer对象 Timer timer = new Timer(
阅读全文
|