随笔分类 - Java核心类
摘要:``` class NestedInteger { private List list; private Integer integer; public NestedInteger(List list){ this.list = list; } public void add(NestedInteger nestedInteger) { if(this.list != null){ this.li
        阅读全文
                
摘要:BigDecimal 概念 BigDecimal = 大的小数。用于表示精确的小数,常用于财务计算。 和 类似, 可以表示一个任意大小且精度完全准确的浮点数。 基础 BigDecimal用scale()表示小数位数,例如: stripTrailingZeros()方法,去掉末尾的0 四舍五入方法 对
        阅读全文
                

浙公网安备 33010602011771号