摘要: 反射: 通过对象获取类的信息 构造函数 属性 方法; 获取属性: 1 public static void reflect(Object o) throws Exception{ 2 //根据对象获取类 3 Class a = o.getClass(); 4 //获取所有访问权限为public的属性 阅读全文
posted @ 2020-02-06 21:39 lksnjj 阅读(117) 评论(0) 推荐(0)
摘要: 1 /* 2 * Executor 接口 3 * execute(Runnable command) //执行 4 * 5 * ExecutorService 接口 6 * submit(Runnable task) ;//提交 7 * shutdown() ; //关闭 8 * 9 * Execu 阅读全文
posted @ 2020-02-06 16:20 lksnjj 阅读(99) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2020-02-06 15:16 lksnjj 阅读(0) 评论(0) 推荐(0)