示例#1
0
        override public System.Object Clone()
        {
            OffsetAttributeImpl impl = new OffsetAttributeImpl();

            impl.endOffset   = endOffset;
            impl.startOffset = startOffset;
            return(impl);
        }
示例#2
0
        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);
        }
示例#3
0
		override public System.Object Clone()
		{
            OffsetAttributeImpl impl = new OffsetAttributeImpl();
            impl.endOffset = endOffset;
            impl.startOffset = startOffset;
            return impl;
		}