@Test public void testHashCode() { assertEquals(genreSummary1.hashCode(), genreSummary1.hashCode()); assertEquals(genreSummary1.hashCode(), genreSummary2.hashCode()); assertTrue(genreSummary1.hashCode() != "abc".hashCode()); assertTrue(genreSummary1.hashCode() != genreSummary3.hashCode()); assertTrue(genreSummary1.hashCode() != genreSummary4.hashCode()); assertTrue(genreSummary1.hashCode() != genreSummary5.hashCode()); assertTrue(genreSummary1.hashCode() != genreSummary6.hashCode()); }
@Override public int hashCode() { int result = 17; int c = 0; c = ((genre == null) ? 0 : genre.hashCode()); result = 37 * result + c; c = (int) (movieTitleCount); result = 37 * result + c; c = (int) (soapTitleCount); result = 37 * result + c; return result; }
GenreSummary implements Serializable { @Override public int hashCode() { int result = 17; int c = 0; c = ((genre == null) ? 0 : genre.hashCode()); result = 37 * result + c; c = (int) (movieTitleCount); result = 37 * result + c; c = (int) (soapTitleCount); result = 37 * result + c; return result; } }
GenreSummary implements Serializable { @Override public int hashCode() { int result = 17; int c = 0; c = ((genre == null) ? 0 : genre.hashCode()); result = 37 * result + c; c = (int) (movieTitleCount); result = 37 * result + c; c = (int) (soapTitleCount); result = 37 * result + c; return result; }  }
GenreSummary implements Serializable { @Override public int hashCode() { int result = 17; int c = 0; c = ((genre == null) ? 0 : genre.hashCode()); result = 37 * result + c; c = (int) (movieTitleCount); result = 37 * result + c; c = (int) (soapTitleCount); result = 37 * result + c; return result; }  String getGenre(); void setGenre(String genre); int getMovieTitleCount(); void setMovieTitleCount(int movieTitleCount); int getSoapTitleCount(); void setSoapTitleCount(int soapTitleCount); long getSumOfSizeOfAllTitlesInThisGenre(); void setSumOfSizeOfAllTitlesInThisGenre(
			long sumOfSizeOfAllTitlesInThisGenre); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); }
GenreSummary implements Serializable { @Override public int hashCode() { int result = 17; int c = 0; c = ((genre == null) ? 0 : genre.hashCode()); result = 37 * result + c; c = (int) (movieTitleCount); result = 37 * result + c; c = (int) (soapTitleCount); result = 37 * result + c; return result; }  String getGenre(); void setGenre(String genre); int getMovieTitleCount(); void setMovieTitleCount(int movieTitleCount); int getSoapTitleCount(); void setSoapTitleCount(int soapTitleCount); long getSumOfSizeOfAllTitlesInThisGenre(); void setSumOfSizeOfAllTitlesInThisGenre(
			long sumOfSizeOfAllTitlesInThisGenre); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }