Java 用hashmap统计词频

C:\\Temp\\1\\a.txt 内容: 1,a,28 2,b,35 3,c,28 4,d,35 5,e,28 6,a,28 7,b,35 8,c,28 9,a,28 public class FileTest { static File filea = new File("C:\\Temp\\1\\a.txt"); static HashMap<String,Integ
相关文章
相关标签/搜索