摘要: **错误原因:**Stream的groupingBy 方法,key为null导致的 **解决方法:**加一个filter过滤null值 阅读全文
posted @ 2022-07-06 10:28 爱吃糖的橘猫 阅读(469) 评论(0) 推荐(0) 编辑
摘要: **错误原因:**通过BigDecimal的divide方法进行除法时当不整除,出现无限循环小数时,就会抛异常:java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decim 阅读全文
posted @ 2022-07-06 10:16 爱吃糖的橘猫 阅读(389) 评论(0) 推荐(0) 编辑