@Test public void testHashCode() { PageExperiment pe2 = PageExperiment.withAttributes(id, label, false).build(); assertEquals(pe.hashCode(), pe2.hashCode()); pe2.setId(Experiment.ID.newInstance()); assertNotEquals(pe.hashCode(), pe2.hashCode()); }
@Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }
PageExperiment implements Cloneable, Serializable { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } }
PageExperiment implements Cloneable, Serializable { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }  }
PageExperiment implements Cloneable, Serializable { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }  static Builder withAttributes(Experiment.ID experimentID, Experiment.Label label, boolean allowNewAssignment); Experiment.ID getId(); void setId(Experiment.ID id); Experiment.Label getLabel(); void setLabel(Experiment.Label label); boolean getAllowNewAssignment(); void setAllowNewAssignment(boolean allowNewAssignment); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override PageExperiment clone(); }
PageExperiment implements Cloneable, Serializable { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }  static Builder withAttributes(Experiment.ID experimentID, Experiment.Label label, boolean allowNewAssignment); Experiment.ID getId(); void setId(Experiment.ID id); Experiment.Label getLabel(); void setLabel(Experiment.Label label); boolean getAllowNewAssignment(); void setAllowNewAssignment(boolean allowNewAssignment); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override PageExperiment clone();  }