Package com._1c.g5.v8.dt.compare.core
Class MergeResultDifference
- java.lang.Object
-
- com._1c.g5.gumtree.core.Difference
-
- com._1c.g5.v8.dt.compare.core.MergeResultDifference
-
public class MergeResultDifference extends com._1c.g5.gumtree.core.Difference
Description of a change between two ranges of comparable entities and theirs merge result.
-
-
Constructor Summary
Constructors Constructor Description MergeResultDifference(int leftStart, int leftEnd, int rightStart, int rightEnd, int mergeResultStart, int mergeResultEnd, com._1c.g5.gumtree.core.Difference.Type type)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
mergeResultEnd()
Returns the end index of entity on the merge result side.int
mergeResultLength()
Returns the number of entities on the merge result side.int
mergeResultStart()
Returns the start index of entity on the merge result side.
-
-
-
Constructor Detail
-
MergeResultDifference
public MergeResultDifference(int leftStart, int leftEnd, int rightStart, int rightEnd, int mergeResultStart, int mergeResultEnd, com._1c.g5.gumtree.core.Difference.Type type)
Creates a new instance.- Parameters:
leftStart
- the start index of entity on the left sideleftEnd
- the end index of entity on the left siderightStart
- the start index of entity on the right siderightEnd
- the end index of entity on the right sidemergeResultStart
- the start index of entity on the merge result sidemergeResultEnd
- the end index of entity on the merge result sidetype
- the kind of change, cannot benull
-
-
Method Detail
-
mergeResultStart
public int mergeResultStart()
Returns the start index of entity on the merge result side.- Returns:
- the start index of entity on the merge result side
-
mergeResultEnd
public int mergeResultEnd()
Returns the end index of entity on the merge result side.- Returns:
- the end index of entity on the merge result side
-
mergeResultLength
public int mergeResultLength()
Returns the number of entities on the merge result side.- Returns:
- the number of entities on the merge result side
-
-