public bool Equals(correlation <T> other) { if (other == null) { return(false); } if (id.Equals(other.id)) { return(true); } else { return(false); } }
public override bool Equals(object obj) { if (obj == null) { return(false); } correlation <T> corrObj = obj as correlation <T>; if (corrObj == null) { return(false); } else { return(Equals(corrObj)); } }