首页 > TAG信息列表 > getDimension1

拼接List的属性成str

// 法一 String fieldStr = list.stream().map(n -> n.getDimension1()).collect(Collectors.joining(",")); // 法二 List<String> fieldList = Lists.newArrayList(); for (ChartDataView chartDataView : list) { fieldList.add(chartDataView.getDimen