摘要: ##1.正则表达式为: ([1-9]\d*\.?\d*)|(0\.\d*[1-9]) ##2.工具类如下: public List<Double> getNumberFromString(String text) { List<Double> numbers=new ArrayList<>(); S 阅读全文
posted @ 2020-09-22 13:33 梦里有时终须有 阅读(6057) 评论(1) 推荐(1) 编辑