public int hashCode() { int result; result = probeId; result = 31 * result + array.hashCode(); result = 31 * result + probesetId.hashCode(); return result; }
@Testable public boolean equals(Object o) { if (this == o) return true; if (o == null) return false; if (!(o instanceof OligoProbe)) return false; OligoProbe that = (OligoProbe) o; if (probeId != that.getProbeId()) return false; if (!array.equals(that.getArray())) return false; if (!probesetId.equals(that.getProbesetId())) return false; return true; }
public String toString() { return array.getName() + ": " + probesetId + " (" + name + ")"; }