public boolean equals(Object obj) {if (obj == null)return false;if (obj == this)return true;if (obj.getClass() != getClass())return false;HSSFClientAnchor anchor = (HSSFClientAnchor) obj;return anchor.getCol1() == getCol1() && anchor.getCol2() == getCol2() && anchor.getDx1() == getDx1()&& anchor.getDx2() == getDx2() && anchor.getDy1() == getDy1() && anchor.getDy2() == getDy2()&& anchor.getRow1() == getRow1() && anchor.getRow2() == getRow2() && anchor.getAnchorType() == getAnchorType();}
public override bool Equals(Object obj){if (obj == null)return false;if (obj == this)return true;if (obj.GetType() != GetType())return false;HSSFClientAnchor anchor = (HSSFClientAnchor)obj;return anchor.Col1 == Col1 && anchor.Col2 == Col2 && anchor.Dx1 == Dx1&& anchor.Dx2 == Dx2 && anchor.Dy1 == Dy1 && anchor.Dy2 == Dy2&& anchor.Row1 == Row1 && anchor.Row2 == Row2 && anchor.AnchorType == AnchorType;}