public boolean equals(Object o) {if (o instanceof Edit) {final Edit e = (Edit) o;return this.beginA == e.beginA && this.endA == e.endA&& this.beginB == e.beginB && this.endB == e.endB;}return false;}
public override bool Equals(object o){if (o is NGit.Diff.Edit){NGit.Diff.Edit e = (NGit.Diff.Edit)o;return this.beginA == e.beginA && this.endA == e.endA && this.beginB == e.beginB&& this.endB == e.endB;}return false;}