Class SideBySideView.Line

  • Enclosing class:
    SideBySideView

    public static class SideBySideView.Line
    extends Object
    Holds information about a single line, which consists of the left and right information of the diff.
    • Constructor Detail

      • Line

        public Line()
    • Method Detail

      • getRight

        public SideBySideView.Line.Item getRight()
        Returns the right version of a modified line.
        Returns:
        right item.
      • isSkipping

        public boolean isSkipping()
        Should we skip this line.
        Returns:
        true when the line should be skipped.
      • setSkipping

        public void setSkipping​(boolean skipping)
        Sets skipping.
        Parameters:
        skipping - skip?
      • getTag

        public com.github.difflib.text.DiffRow.Tag getTag()
        Returns:
        the tag
      • setTag

        public void setTag​(com.github.difflib.text.DiffRow.Tag tag)
        Parameters:
        tag - the tag to set