@Test public void testHashCode() { ExperimentPage ep = ExperimentPage.withAttributes(Page.Name.valueOf("fluffy"), true).build(); ExperimentPage ep2 = ExperimentPage.withAttributes(Page.Name.valueOf("fluffy"), true).build(); assertEquals(ep.hashCode(), ep2.hashCode()); ep2.setAllowNewAssignment(false); assertNotEquals(ep.hashCode(), ep2.hashCode()); }
@Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }
ExperimentPage implements Cloneable { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } }
ExperimentPage implements Cloneable { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }  }
ExperimentPage implements Cloneable { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }  static Builder withAttributes(Page.Name name, boolean allowNewAssignment); Page.Name getName(); void setName(Page.Name name); boolean getAllowNewAssignment(); void setAllowNewAssignment(boolean allowNewAssignment); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override ExperimentPage clone(); }
ExperimentPage implements Cloneable { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }  static Builder withAttributes(Page.Name name, boolean allowNewAssignment); Page.Name getName(); void setName(Page.Name name); boolean getAllowNewAssignment(); void setAllowNewAssignment(boolean allowNewAssignment); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override ExperimentPage clone();  }