public int hashCode() { int code = replicate == null ? 17 : replicate.hashCode(); code += loc1.hashCode(); code += loc2.hashCode(); code *= 37; return code; }
public boolean equals(Object o) { if (!(o instanceof ChipChipDifferenceLocator)) { return false; } ChipChipDifferenceLocator loc = (ChipChipDifferenceLocator) o; return loc1.equals(loc.loc1) && loc2.equals(loc.loc2); }
/* (non-Javadoc) * @see edu.psu.compbio.seqcode.gse.utils.Factory#createObject() */ public ChipChipData createObject() { ChipChipData d1 = loc1.createObject(); ChipChipData d2 = loc2.createObject(); return new ChipChipDifferenceData(d1, d2); }