摘要:
BigDecimal a = new BigDecimal("0.01");BigDecimal b = new BigDecimal("0.010000");System.out.println(a.equals(b));//falseSystem.out.println(a.compareTo( 阅读全文
摘要:
private static HashSet<string> hashSetLocationIds = new HashSet<string>(); if (hashSetLocationIds.Contains(id)) return; if (hashSetLocationIds.Count > 阅读全文