@Test public void equalsAbsentTermsDifferentReturnsFalse() { final Set<String> absentTerms2 = new HashSet<>(); absentTerms2.add(A_TERM_5); final PanelData panelData2 = new PanelData(this.presentTerms, absentTerms2, this.rejectedGenes); Assert.assertFalse(this.panelData.equals(panelData2)); }
@Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final PanelData panelData = (PanelData) o; return new EqualsBuilder() .append(this.withMatchCount, panelData.withMatchCount) .append(this.presentTerms, panelData.presentTerms) .append(this.absentTerms, panelData.absentTerms) .append(this.rejectedGenes, panelData.rejectedGenes) .isEquals(); }
PanelData { @Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final PanelData panelData = (PanelData) o; return new EqualsBuilder() .append(this.withMatchCount, panelData.withMatchCount) .append(this.presentTerms, panelData.presentTerms) .append(this.absentTerms, panelData.absentTerms) .append(this.rejectedGenes, panelData.rejectedGenes) .isEquals(); } }
PanelData { @Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final PanelData panelData = (PanelData) o; return new EqualsBuilder() .append(this.withMatchCount, panelData.withMatchCount) .append(this.presentTerms, panelData.presentTerms) .append(this.absentTerms, panelData.absentTerms) .append(this.rejectedGenes, panelData.rejectedGenes) .isEquals(); } PanelData(
        @Nonnull final Set<String> presentTerms,
        @Nonnull final Set<String> absentTerms,
        @Nonnull final Set<String> rejectedGenes);   PanelData(
        @Nonnull final Set<String> presentTerms,
        @Nonnull final Set<String> absentTerms,
        @Nonnull final Set<String> rejectedGenes,
        final boolean withMatchCount); }
PanelData { @Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final PanelData panelData = (PanelData) o; return new EqualsBuilder() .append(this.withMatchCount, panelData.withMatchCount) .append(this.presentTerms, panelData.presentTerms) .append(this.absentTerms, panelData.absentTerms) .append(this.rejectedGenes, panelData.rejectedGenes) .isEquals(); } PanelData(
        @Nonnull final Set<String> presentTerms,
        @Nonnull final Set<String> absentTerms,
        @Nonnull final Set<String> rejectedGenes);   PanelData(
        @Nonnull final Set<String> presentTerms,
        @Nonnull final Set<String> absentTerms,
        @Nonnull final Set<String> rejectedGenes,
        final boolean withMatchCount); @Override boolean equals(final Object o); @Override int hashCode(); }
PanelData { @Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final PanelData panelData = (PanelData) o; return new EqualsBuilder() .append(this.withMatchCount, panelData.withMatchCount) .append(this.presentTerms, panelData.presentTerms) .append(this.absentTerms, panelData.absentTerms) .append(this.rejectedGenes, panelData.rejectedGenes) .isEquals(); } PanelData(
        @Nonnull final Set<String> presentTerms,
        @Nonnull final Set<String> absentTerms,
        @Nonnull final Set<String> rejectedGenes);   PanelData(
        @Nonnull final Set<String> presentTerms,
        @Nonnull final Set<String> absentTerms,
        @Nonnull final Set<String> rejectedGenes,
        final boolean withMatchCount); @Override boolean equals(final Object o); @Override int hashCode();  }