会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Simon
博客园
首页
新随笔
联系
订阅
管理
12 2020 档案
Lambda表达式的格式
摘要: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 瞬态 关键字 阻止变量被序列化
摘要:transient 瞬态 关键字 阻止变量被序列化
阅读全文
posted @
2020-12-13 21:48
SimonShixinlong
阅读(195)
评论(0)
推荐(0)
静态不能被序列化
摘要:静态成员变量不能被序列化
阅读全文
posted @
2020-12-13 21:46
SimonShixinlong
阅读(384)
评论(0)
推荐(0)
传统IO和NIO的区别
摘要:IO是直接通信; NIO是由缓存作为中间层,先把数据放入缓存(内存),数据的消费者可以从缓存中获取数据。
阅读全文
posted @
2020-12-02 16:15
SimonShixinlong
阅读(159)
评论(0)
推荐(0)
公告