Now I have a string like a vector :
String a = "[0.028997358,-0.259633,-0.10136852,0.2559176,-0.019660486,-0.57555103,0.17772871,0.2680008]";
How to turn it into List<Float> type?
Expected to get
List<Float> b = new ArrayList<Float>(Arrays.asList(0.028997358,-0.259633,-0.10136852,0.2559176,-0.019660486,-0.57555103,0.17772871,0.2680008));