Class MergeFormatter.OneSideLineDifference

java.lang.Object
com._1c.g5.gumtree.core.Difference
com._1c.g5.gumtree.core.LineDifference
com._1c.g5.v8.dt.compare.merge.MergeFormatter.OneSideLineDifference
Enclosing class:
MergeFormatter

public static class MergeFormatter.OneSideLineDifference extends com._1c.g5.gumtree.core.LineDifference
The extension of LineDifference to store one side difference.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    The line difference side.

    Nested classes/interfaces inherited from class com._1c.g5.gumtree.core.Difference

    com._1c.g5.gumtree.core.Difference.Type
  • Field Summary

    Fields inherited from class com._1c.g5.gumtree.core.LineDifference

    leftEndLine, leftStartLine, rightEndLine, rightStartLine

    Fields inherited from class com._1c.g5.gumtree.core.Difference

    leftEnd, leftStart, rightEnd, rightStart, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    OneSideLineDifference(int leftStart, int leftEnd, int rightStart, int rightEnd, int leftStartLine, int leftEndLine, int rightStartLine, int rightEndLine, com._1c.g5.gumtree.core.Difference.Type type, MergeFormatter.OneSideLineDifference.Side side)
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the difference presence side.

    Methods inherited from class com._1c.g5.gumtree.core.LineDifference

    copy, equals, hashCode, leftEndLine, leftStartLine, merge, rightEndLine, rightStartLine, toString

    Methods inherited from class com._1c.g5.gumtree.core.Difference

    getType, leftEnd, leftLength, leftStart, mergeType, rightEnd, rightLength, rightStart

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • OneSideLineDifference

      public OneSideLineDifference(int leftStart, int leftEnd, int rightStart, int rightEnd, int leftStartLine, int leftEndLine, int rightStartLine, int rightEndLine, com._1c.g5.gumtree.core.Difference.Type type, MergeFormatter.OneSideLineDifference.Side side)
      Creates a new instance.
      Parameters:
      leftStart - the start index of entity on the left side
      leftEnd - the end index of entity on the left side
      rightStart - the start index of entity on the right side
      rightEnd - the end index of entity on the right side
      leftStartLine - the start line index of entity on the left side
      leftEndLine - the end line index of entity on the left side
      rightStartLine - the start line index of entity on the right side
      rightEndLine - the end line index of entity on the right side
      type - the kind of change, cannot be null
      side - the presence side, cannot be null
  • Method Details