@Test public void testEquals() { EqualsVerifier.forClass(ParticipatingExperiment.class).suppress(Warning.NULL_FIELDS, Warning.STRICT_INHERITANCE).verify(); }
@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ParticipatingExperiment)) return false; ParticipatingExperiment that = (ParticipatingExperiment) o; if (!baseExperiment.equals(that.baseExperiment)) return false; if (!selectedAlternative.equals(that.selectedAlternative)) return false; return true; }
ParticipatingExperiment { @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ParticipatingExperiment)) return false; ParticipatingExperiment that = (ParticipatingExperiment) o; if (!baseExperiment.equals(that.baseExperiment)) return false; if (!selectedAlternative.equals(that.selectedAlternative)) return false; return true; } }
ParticipatingExperiment { @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ParticipatingExperiment)) return false; ParticipatingExperiment that = (ParticipatingExperiment) o; if (!baseExperiment.equals(that.baseExperiment)) return false; if (!selectedAlternative.equals(that.selectedAlternative)) return false; return true; } ParticipatingExperiment(Sixpack sixpack, Experiment baseExperiment, Alternative selectedAlternative); }
ParticipatingExperiment { @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ParticipatingExperiment)) return false; ParticipatingExperiment that = (ParticipatingExperiment) o; if (!baseExperiment.equals(that.baseExperiment)) return false; if (!selectedAlternative.equals(that.selectedAlternative)) return false; return true; } ParticipatingExperiment(Sixpack sixpack, Experiment baseExperiment, Alternative selectedAlternative); ConvertedExperiment convert(); ConvertedExperiment convert(String kpi); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
ParticipatingExperiment { @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ParticipatingExperiment)) return false; ParticipatingExperiment that = (ParticipatingExperiment) o; if (!baseExperiment.equals(that.baseExperiment)) return false; if (!selectedAlternative.equals(that.selectedAlternative)) return false; return true; } ParticipatingExperiment(Sixpack sixpack, Experiment baseExperiment, Alternative selectedAlternative); ConvertedExperiment convert(); ConvertedExperiment convert(String kpi); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); final Experiment baseExperiment; final Alternative selectedAlternative; }