java.lang.Object
org.variantsync.studies.evolution.simulation.diff.lines.Line
org.variantsync.studies.evolution.simulation.diff.lines.ContextLine

public class ContextLine extends Line
Represents a context line in a hunk of the difference between two files.
  • Constructor Details

    • ContextLine

      public ContextLine(String line)
    • ContextLine

      public ContextLine(AddedLine line)
      Create a context line from an added line. This is required to represent the context of an adjacent change after the line has actually been added.
      Parameters:
      line - the added line
    • ContextLine

      public ContextLine(RemovedLine removedLine)
      Create a context line from a removed line. This is required to represent the context of an adjacent change before the line has actually been removed.
      Parameters:
      removedLine - the removed line