Skip to content

Instantly share code, notes, and snippets.

@sujathakvr
Created November 9, 2016 16:52
Show Gist options
  • Save sujathakvr/087d846a1d10d186e2e4ca83232f6ec0 to your computer and use it in GitHub Desktop.
Save sujathakvr/087d846a1d10d186e2e4ca83232f6ec0 to your computer and use it in GitHub Desktop.
package com.ourOffice.model;
import java.util.HashMap;
// This class is used for storing filename, Hashmap containing the words and
// their frequency of occurrence in the files in the given folder
public class DocFrequencyHashMap {
private HashMap<String, Integer> hm;
private String fileName;
public HashMap<String, Integer> getHm() {
return hm;
}
public void setHm(HashMap<String, Integer> hm) {
this.hm = hm;
}
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment