Class ContextLine
java.lang.Object
org.variantsync.studies.evolution.simulation.diff.lines.Line
org.variantsync.studies.evolution.simulation.diff.lines.ContextLine
Represents a context line in a hunk of the difference between two files.
-
Constructor Summary
ConstructorsConstructorDescriptionContextLine
(String line) ContextLine
(AddedLine line) Create a context line from an added line.ContextLine
(RemovedLine removedLine) Create a context line from a removed line. -
Method Summary
-
Constructor Details
-
ContextLine
-
ContextLine
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
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
-