I am a Solivagant
Lofter    Posts     新文章     文章管理     新日记     日记管理

随笔分类 -  Java

摘要:The transient modifier. A transient modifier applied to a field tells Java that this attribute should be excluded when the object is being serialized. 阅读全文
posted @ 2019-08-26 11:04 宛如ZZ 阅读(182) 评论(0) 推荐(0)
摘要:虽说这是一个很简单的问题, 但我今天碰到的时候竟然忘记了. 返回给前端的JSON格式是数型而非需求文档要求的字符串. 1. String.valueOf(param); 2. 空字符串,param+"" 阅读全文
posted @ 2019-06-12 10:22 宛如ZZ
摘要:I mapped Ctrl-Alt-Up/Down to open web-browser and email client but it didn't take effect. Ctrl-Alt-Up/Down still switch workspaces as the default sett 阅读全文
posted @ 2019-04-29 16:53 宛如ZZ 阅读(816) 评论(0) 推荐(0)
摘要:java.util.Properties The Properties class represents a persistent set of properties. The Properties can be saved to a stream or loaded from a stream. 阅读全文
posted @ 2018-07-20 21:59 宛如ZZ 阅读(249) 评论(0) 推荐(0)
摘要:一般红色叹号是build path出错. 除了检查出错的library外,还要注意Order an Export选项中未勾选的Library. 之前导入项目后,没有勾选JRE和Maven Dependencies 阅读全文
posted @ 2018-06-29 20:03 宛如ZZ 阅读(224) 评论(0) 推荐(0)
摘要:new BigDecimal(int i); BigDecimal.parseBigDecimal(String.valueOf(int i)); 阅读全文
posted @ 2018-06-27 10:49 宛如ZZ 阅读(30675) 评论(1) 推荐(0)