override public System.Object Clone() { OffsetAttributeImpl impl = new OffsetAttributeImpl(); impl.endOffset = endOffset; impl.startOffset = startOffset; return(impl); }
public override bool Equals(System.Object other) { if (other == this) { return(true); } if (other is OffsetAttributeImpl) { OffsetAttributeImpl o = (OffsetAttributeImpl)other; return(o.startOffset == startOffset && o.endOffset == endOffset); } return(false); }
override public System.Object Clone() { OffsetAttributeImpl impl = new OffsetAttributeImpl(); impl.endOffset = endOffset; impl.startOffset = startOffset; return impl; }