12 2020 档案

摘要:public static void main(String[] args) { Thread thread = new Thread( () -> {System.out.println(" thread init");}); thread.start(); } //(数据类型 参数)-> {前面 阅读全文
posted @ 2020-12-16 22:55 SimonShixinlong 阅读(154) 评论(0) 推荐(0)
摘要:transient 瞬态 关键字 阻止变量被序列化 阅读全文
posted @ 2020-12-13 21:48 SimonShixinlong 阅读(195) 评论(0) 推荐(0)
摘要:静态成员变量不能被序列化 阅读全文
posted @ 2020-12-13 21:46 SimonShixinlong 阅读(384) 评论(0) 推荐(0)
摘要:IO是直接通信; NIO是由缓存作为中间层,先把数据放入缓存(内存),数据的消费者可以从缓存中获取数据。 阅读全文
posted @ 2020-12-02 16:15 SimonShixinlong 阅读(159) 评论(0) 推荐(0)