...
|
...
|
@@ -22,8 +22,9 @@ public class BrandVectorBOLogicService { |
|
|
String [] parts = vector.split(split);
|
|
|
List<Double> results = new ArrayList<>();
|
|
|
for (String part: parts){
|
|
|
results.add(Double.parseDouble(part));
|
|
|
results.add(Double.parseDouble(part.trim()));
|
|
|
}
|
|
|
return results;
|
|
|
}catch (Exception e){
|
|
|
logger.error(e.getMessage(), e);
|
|
|
return new ArrayList<>();
|
...
|
...
|
|