Package org.openstreetmap.josm.tools
Interface Diff.ScriptBuilder
-
- All Known Implementing Classes:
Diff.ForwardScript
,Diff.ReverseScript
- Enclosing class:
- Diff
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Diff.ScriptBuilder
Script builder.- Since:
- 10600 (functional interface)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Diff.Change
buildScript(boolean[] changed0, int len0, boolean[] changed1, int len1)
Scan the tables of which lines are inserted and deleted, producing an edit script.
-
-
-
Method Detail
-
buildScript
Diff.Change buildScript(boolean[] changed0, int len0, boolean[] changed1, int len1)
Scan the tables of which lines are inserted and deleted, producing an edit script.- Parameters:
changed0
- true for lines in first file which do not match 2ndlen0
- number of lines in first filechanged1
- true for lines in 2nd file which do not match 1stlen1
- number of lines in 2nd file- Returns:
- a linked list of changes - or null
- Since:
- 10600 (renamed)
-
-