@author rezeros.github.io
| 8 | * @author rezeros.github.io |
| 9 | */ |
| 10 | public interface DiffAlgorithm { |
| 11 | |
| 12 | /** |
| 13 | * convert from content to target content |
| 14 | * @param fromLineObjects from content |
| 15 | * @param targetLineObjects target content |
| 16 | * @return convert short edit script |
| 17 | */ |
| 18 | List<LineObject> diff(List<LineObject> fromLineObjects, List<LineObject> targetLineObjects); |
| 19 | |
| 20 | } |