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