@Test public void hashCodeSame() { Assert.assertEquals(this.component.hashCode(), new DefaultMatchCountImpl(this.feature1, HP01_GENES).hashCode()); }
@Override public int hashCode() { return new HashCodeBuilder(17, 37) .append(this.term) .append(this.genes) .toHashCode(); }
DefaultMatchCountImpl implements MatchCount { @Override public int hashCode() { return new HashCodeBuilder(17, 37) .append(this.term) .append(this.genes) .toHashCode(); } }
DefaultMatchCountImpl implements MatchCount { @Override public int hashCode() { return new HashCodeBuilder(17, 37) .append(this.term) .append(this.genes) .toHashCode(); } DefaultMatchCountImpl(@Nonnull final VocabularyTerm term, @Nullable final Collection<String> associatedGenes); }
DefaultMatchCountImpl implements MatchCount { @Override public int hashCode() { return new HashCodeBuilder(17, 37) .append(this.term) .append(this.genes) .toHashCode(); } DefaultMatchCountImpl(@Nonnull final VocabularyTerm term, @Nullable final Collection<String> associatedGenes); @Override int getCount(); @Override String getId(); @Override String getName(); @Override Collection<String> getGenes(); @Override JSONObject toJSON(); @Override boolean equals(@Nullable final Object o); @Override int hashCode(); @Override int compareTo(@Nonnull final MatchCount o); }
DefaultMatchCountImpl implements MatchCount { @Override public int hashCode() { return new HashCodeBuilder(17, 37) .append(this.term) .append(this.genes) .toHashCode(); } DefaultMatchCountImpl(@Nonnull final VocabularyTerm term, @Nullable final Collection<String> associatedGenes); @Override int getCount(); @Override String getId(); @Override String getName(); @Override Collection<String> getGenes(); @Override JSONObject toJSON(); @Override boolean equals(@Nullable final Object o); @Override int hashCode(); @Override int compareTo(@Nonnull final MatchCount o);  }