@Test public void testHashCode() { String filename = "bar"; Hit instance = new Hit(filename, null, null, false, false); assertEquals(filename.hashCode(), instance.hashCode()); }
@Override public int hashCode() { return filename.hashCode(); }
Hit implements Comparable<Hit> { @Override public int hashCode() { return filename.hashCode(); } }
Hit implements Comparable<Hit> { @Override public int hashCode() { return filename.hashCode(); } Hit();  Hit(String filename, String line, String lineno, boolean binary, boolean alt); }
Hit implements Comparable<Hit> { @Override public int hashCode() { return filename.hashCode(); } Hit();  Hit(String filename, String line, String lineno, boolean binary, boolean alt); String getFilename(); String getPath(); String getDirectory(); void setFilename(String filename); String getLine(); void setLine(String line); String getLineno(); void setLineno(String lineno); @Override int compareTo(Hit o); boolean isBinary(); void setBinary(boolean binary); String getTag(); void setTag(String tag); boolean getAlt(); @Override boolean equals(Object o); @Override int hashCode(); }
Hit implements Comparable<Hit> { @Override public int hashCode() { return filename.hashCode(); } Hit();  Hit(String filename, String line, String lineno, boolean binary, boolean alt); String getFilename(); String getPath(); String getDirectory(); void setFilename(String filename); String getLine(); void setLine(String line); String getLineno(); void setLineno(String lineno); @Override int compareTo(Hit o); boolean isBinary(); void setBinary(boolean binary); String getTag(); void setTag(String tag); boolean getAlt(); @Override boolean equals(Object o); @Override int hashCode();  }