public boolean equals(Object obj) {if (obj == null)return false;if (obj == this)return true;if (obj.getClass() != getClass())return false;HSSFChildAnchor anchor = (HSSFChildAnchor) obj;return anchor.getDx1() == getDx1() && anchor.getDx2() == getDx2() && anchor.getDy1() == getDy1()&& anchor.getDy2() == getDy2();}

public boolean equals ( Object obj ) { if ( obj == null ) return false ; if ( obj == this ) return true ; if ( obj . getClass ( ) != getClass ( ) ) return false ; HSSFChildAnchor anchor = ( HSSFChildAnchor ) obj ; return anchor . getDx1 ( ) == getDx1 ( ) && anchor . getDx2 ( ) == getDx2 ( ) && anchor . getDy1 ( ) == getDy1 ( ) && anchor . getDy2 ( ) == getDy2 ( ) ; }
public override bool Equals(object obj){if (obj == null)return false;if (obj == this)return true;if (obj.GetType() != GetType())return false;HSSFChildAnchor anchor = (HSSFChildAnchor)obj;return anchor.Dx1 == Dx1 && anchor.Dx2 == Dx2 && anchor.Dy1 == Dy1&& anchor.Dy2 == Dy2;}
