コード例 #1
0
            public MiddleEdit(MyersDiff <S> _enclosing)
            {
                this._enclosing = _enclosing;
                forward         = new MyersDiff <S> .MiddleEdit.ForwardEditPaths(this);

                backward = new MyersDiff <S> .MiddleEdit.BackwardEditPaths(this);
            }
コード例 #2
0
        private MyersDiff(EditList edits, HashedSequenceComparator <S> cmp, HashedSequence
                          <S> a, HashedSequence <S> b, Edit region)
        {
            middle = new MyersDiff <S> .MiddleEdit(this);

            this.edits = edits;
            this.cmp   = cmp;
            this.a     = a;
            this.b     = b;
            CalculateEdits(region);
        }