@Test public void hash_unknown_section() { OrganizationSection section = new OrganizationSection(OrgSectionType.UNKNOWN, new String[] {"medical", "college", "school"}, -1); assertEquals("UNKcolmed", orgSectionHasher.hash(section)); }
public String hash(OrganizationSection section) { if (section.getTypeSignificantWordPos() == -1) { return hashUsingFirstWords(section); } return hashUsingAdjacentWords(section); }
OrganizationSectionHasher implements Serializable { public String hash(OrganizationSection section) { if (section.getTypeSignificantWordPos() == -1) { return hashUsingFirstWords(section); } return hashUsingAdjacentWords(section); } }
OrganizationSectionHasher implements Serializable { public String hash(OrganizationSection section) { if (section.getTypeSignificantWordPos() == -1) { return hashUsingFirstWords(section); } return hashUsingAdjacentWords(section); }  }
OrganizationSectionHasher implements Serializable { public String hash(OrganizationSection section) { if (section.getTypeSignificantWordPos() == -1) { return hashUsingFirstWords(section); } return hashUsingAdjacentWords(section); }  String hash(OrganizationSection section); void setNumberOfLettersPerWord(int numberOfLettersPerWord); }
OrganizationSectionHasher implements Serializable { public String hash(OrganizationSection section) { if (section.getTypeSignificantWordPos() == -1) { return hashUsingFirstWords(section); } return hashUsingAdjacentWords(section); }  String hash(OrganizationSection section); void setNumberOfLettersPerWord(int numberOfLettersPerWord);  }