/* * (non-Javadoc) * @see java.lang.Object#hashCode() */ public int hashCode() { return setName.hashCode() + geneDescriptor.hashCode(); }
/* * (non-Javadoc) * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object obj) { if (!(obj instanceof SummaryKey)) return false; SummaryKey key = (SummaryKey) obj; return setName.equals(key.setName) && geneDescriptor.equals(key.geneDescriptor); }