- Change - Class in com.github.difflib.algorithm
-
- Change(DeltaType, int, int, int, int) - Constructor for class com.github.difflib.algorithm.Change
-
- ChangeDelta<T> - Class in com.github.difflib.patch
-
Describes the change-delta between original and revised texts.
- ChangeDelta(Chunk<T>, Chunk<T>) - Constructor for class com.github.difflib.patch.ChangeDelta
-
Creates a change delta with the two given chunks.
- Chunk<T> - Class in com.github.difflib.patch
-
Holds the information about the part of text involved in the diff process
Text is represented as Object[]
because the diff engine is
capable of handling more than plain ascci.
- Chunk(int, List<T>, List<Integer>) - Constructor for class com.github.difflib.patch.Chunk
-
Creates a chunk and saves a copy of affected lines
- Chunk(int, List<T>) - Constructor for class com.github.difflib.patch.Chunk
-
Creates a chunk and saves a copy of affected lines
- Chunk(int, T[], List<Integer>) - Constructor for class com.github.difflib.patch.Chunk
-
Creates a chunk and saves a copy of affected lines
- Chunk(int, T[]) - Constructor for class com.github.difflib.patch.Chunk
-
Creates a chunk and saves a copy of affected lines
- columnWidth(int) - Method in class com.github.difflib.text.DiffRowGenerator.Builder
-
Set the column width of generated lines of original and revised
texts.
- com.github.difflib - package com.github.difflib
-
- com.github.difflib.algorithm - package com.github.difflib.algorithm
-
- com.github.difflib.algorithm.myers - package com.github.difflib.algorithm.myers
-
- com.github.difflib.patch - package com.github.difflib.patch
-
- com.github.difflib.text - package com.github.difflib.text
-
- com.github.difflib.unifieddiff - package com.github.difflib.unifieddiff
-
This is the new implementation of UnifiedDiff Tools.
- computeDiff(List<T>, List<T>, DiffAlgorithmListener) - Method in interface com.github.difflib.algorithm.DiffAlgorithmI
-
Computes the changeset to patch the source list to the target list.
- computeDiff(T[], T[], DiffAlgorithmListener) - Method in interface com.github.difflib.algorithm.DiffAlgorithmI
-
Simple extension to compute a changeset using arrays.
- computeDiff(List<T>, List<T>, DiffAlgorithmListener) - Method in class com.github.difflib.algorithm.myers.MyersDiff
-
Computes the changeset to patch the source list to the target list.
- CONFLICT_PRODUCES_EXCEPTION - Variable in class com.github.difflib.patch.Patch
-
Standard Patch behaviour to throw an exception for pathching conflicts.
- CONFLICT_PRODUCES_MERGE_CONFLICT - Static variable in class com.github.difflib.patch.Patch
-
Git like merge conflict output.
- ConflictOutput<T> - Interface in com.github.difflib.patch
-
- create() - Static method in class com.github.difflib.text.DiffRowGenerator
-
- DEFAULT_EQUALIZER - Static variable in class com.github.difflib.text.DiffRowGenerator
-
- DeleteDelta<T> - Class in com.github.difflib.patch
-
Describes the delete-delta between original and revised texts.
- DeleteDelta(Chunk<T>, Chunk<T>) - Constructor for class com.github.difflib.patch.DeleteDelta
-
Creates a change delta with the two given chunks.
- deltaType - Variable in class com.github.difflib.algorithm.Change
-
- DeltaType - Enum in com.github.difflib.patch
-
Specifies the type of the delta.
- diff(List<T>, List<T>, DiffAlgorithmListener) - Static method in class com.github.difflib.DiffUtils
-
Computes the difference between the original and revised list of elements with default diff
algorithm
- diff(List<T>, List<T>) - Static method in class com.github.difflib.DiffUtils
-
- diff(List<T>, List<T>, boolean) - Static method in class com.github.difflib.DiffUtils
-
- diff(String, String, DiffAlgorithmListener) - Static method in class com.github.difflib.DiffUtils
-
Computes the difference between the original and revised text.
- diff(List<T>, List<T>, BiPredicate<T, T>) - Static method in class com.github.difflib.DiffUtils
-
Computes the difference between the original and revised list of elements with default diff
algorithm
- diff(List<T>, List<T>, DiffAlgorithmI<T>, DiffAlgorithmListener) - Static method in class com.github.difflib.DiffUtils
-
- diff(List<T>, List<T>, DiffAlgorithmI<T>, DiffAlgorithmListener, boolean) - Static method in class com.github.difflib.DiffUtils
-
Computes the difference between the original and revised list of elements with default diff
algorithm
- diff(List<T>, List<T>, DiffAlgorithmI<T>) - Static method in class com.github.difflib.DiffUtils
-
Computes the difference between the original and revised list of elements with default diff
algorithm
- DiffAlgorithmI<T> - Interface in com.github.difflib.algorithm
-
Interface of a diff algorithm.
- DiffAlgorithmListener - Interface in com.github.difflib.algorithm
-
- diffEnd() - Method in interface com.github.difflib.algorithm.DiffAlgorithmListener
-
- DiffException - Exception in com.github.difflib.patch
-
Base class for all exceptions emanating from this package.
- DiffException() - Constructor for exception com.github.difflib.patch.DiffException
-
- DiffException(String) - Constructor for exception com.github.difflib.patch.DiffException
-
- diffInline(String, String) - Static method in class com.github.difflib.DiffUtils
-
Computes the difference between the given texts inline.
- DiffRow - Class in com.github.difflib.text
-
Describes the diff row in form [tag, oldLine, newLine) for showing the difference between two texts
- DiffRow(DiffRow.Tag, String, String) - Constructor for class com.github.difflib.text.DiffRow
-
- DiffRow.Tag - Enum in com.github.difflib.text
-
- DiffRowGenerator - Class in com.github.difflib.text
-
This class for generating DiffRows for side-by-sidy view.
- DiffRowGenerator.Builder - Class in com.github.difflib.text
-
This class used for building the DiffRowGenerator.
- diffStart() - Method in interface com.github.difflib.algorithm.DiffAlgorithmListener
-
- diffStep(int, int) - Method in interface com.github.difflib.algorithm.DiffAlgorithmListener
-
This is a step within the diff algorithm.
- DiffUtils - Class in com.github.difflib
-
Implements the difference and patching engine