1、对象集合转字符串集合
List<String> attrValues = parameterValue.stream().map(ParameterValue::getValue).
collect(Collectors.toList());
2、集合转MAP
Map<String, String> map = list.stream().
collect(Collectors.toMap(AttributeValue::getAttributeCode, AttributeValue::getValueText));