RecommendationStats { @Override public boolean equals(Object obj) { if (obj == null) { return false; } if (obj == this) { return true; } if (obj.getClass() != getClass()) { return false; } RecommendationStats other = (RecommendationStats) obj; return Objects.equal(numDirectNeighbors, other.numDirectNeighbors) && Objects.equal(numRightNodesReached, other.numRightNodesReached) && Objects.equal(numRHSVisits, other.numRHSVisits) && Objects.equal(minVisitsPerRightNode, other.minVisitsPerRightNode) && Objects.equal(maxVisitsPerRightNode, other.maxVisitsPerRightNode) && Objects.equal(numRightNodesFiltered, other.numRightNodesFiltered); } RecommendationStats();  RecommendationStats(
    int numDirectNeighbors,
    int numRightNodesReached,
    int numRHSVisits,
    int minVisitsPerRightNode,
    int maxVisitsPerRightNode,
    int numRightNodesFiltered); int getNumDirectNeighbors(); void setNumDirectNeighbors(int numDirectNeighbors); int getNumRightNodesReached(); void setNumRightNodesReached(int numRightNodesReached); void setNumRHSVisits(int numRHSVisits); int getNumRHSVisits(); void addToNumRHSVisits(int numVisits); void setMinVisitsPerRightNode(int minVisitsPerRightNode); int getMinVisitsPerRightNode(); void updateMinVisitsPerRightNode(int numVisits); void setMaxVisitsPerRightNode(int maxVisitsPerRightNode); int getMaxVisitsPerRightNode(); void updateMaxVisitsPerRightNode(int numVisits); void updateVisitStatsPerRightNode(int numVisits); int getNumRightNodesFiltered(); void setNumRightNodesFiltered(int numRightNodesFiltered); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); void reset();  }
@Test public void testEqualsWithNull() { RecommendationStats recommendationStats = new RecommendationStats(); assertFalse(recommendationStats.equals(null)); }
@Test public void testEqualsReturningFalse() { RecommendationStats recommendationStats = new RecommendationStats(); Object object = new Object(); assertFalse(recommendationStats.equals(object)); }
@Test public void testEqualsWitSameObject() { RecommendationStats recommendationStats = new RecommendationStats(); assertTrue(recommendationStats.equals(recommendationStats)); }