05 2021 档案
摘要:1 // 使用默认时区和语言环境获得一个日历 2 Calendar cal = Calendar.getInstance(); 3 // 赋值时年月日时分秒常用的6个值,注意月份下标从0开始,所以取月份要+1 4 System.out.println("年:" + cal.get(Calendar.
阅读全文
摘要://加法 BigDecimal result1 = num1.add(num2); BigDecimal result12 = num12.add(num22); //减法 BigDecimal result2 = num1.subtract(num2); BigDecimal result22 =
阅读全文
摘要:1 /** 2 * Filter测试. 3 * 4 * @param sex 根据性别筛选. 5 */ 6 public void testFilter(List<StreamBean> streamBeanList, String sex) { 7 8 if (CollectionUtils.is
阅读全文
摘要:1 /** 2 * 测试排序. 3 * 4 * @param streamBeanList 5 */ 6 public void testSorted(List<StreamBean> streamBeanList) { 7 8 if (CollectionUtils.isNotEmpty(stre
阅读全文
摘要:1 /** 2 * Collectors过滤抽取合并字符串测试. 3 * 4 * @param streamBeanList 5 */ 6 public void testCollectors(List<StreamBean> streamBeanList) { 7 8 if (Collection
阅读全文
摘要:1 /** 2 * Statistics测试. 3 * 4 * @param streamBeanList 5 */ 6 public void testStatistics(List<StreamBean> streamBeanList) { 7 8 IntSummaryStatistics in
阅读全文
摘要:1 1.接收List<obj>集合 2 3 @ResponseBody 4 @PostMapping("/save") 5 @RequiresPermissions("cpm:fieldDisplayConfig:add") 6 public R save(String rows) { 7 Arra
阅读全文

浙公网安备 33010602011771号