Uses of Class
com.github.difflib.patch.AbstractDelta
Packages that use AbstractDelta
Package
Description
This is the new implementation of UnifiedDiff Tools.
-
Uses of AbstractDelta in com.github.difflib
Methods in com.github.difflib with parameters of type AbstractDeltaModifier and TypeMethodDescriptionUnifiedDiffUtils.getDeltaText(AbstractDelta<String> delta) getDeltaText returns the lines to be added to the Unified Diff text from the Delta parameter. -
Uses of AbstractDelta in com.github.difflib.patch
Subclasses of AbstractDelta in com.github.difflib.patchModifier and TypeClassDescriptionfinal classChangeDelta<T>Describes the change-delta between original and revised texts.final classDeleteDelta<T>Describes the delete-delta between original and revised texts.classEqualDelta<T>This delta contains equal lines of data.final classInsertDelta<T>Describes the add-delta between original and revised texts.Fields in com.github.difflib.patch with type parameters of type AbstractDeltaMethods in com.github.difflib.patch that return AbstractDeltaModifier and TypeMethodDescriptionabstract AbstractDelta<T> AbstractDelta.withChunks(Chunk<T> original, Chunk<T> revised) Create a new delta of the actual instance with customized chunk data.ChangeDelta.withChunks(Chunk<T> original, Chunk<T> revised) DeleteDelta.withChunks(Chunk<T> original, Chunk<T> revised) EqualDelta.withChunks(Chunk<T> original, Chunk<T> revised) InsertDelta.withChunks(Chunk<T> original, Chunk<T> revised) Methods in com.github.difflib.patch that return types with arguments of type AbstractDeltaMethods in com.github.difflib.patch with parameters of type AbstractDeltaModifier and TypeMethodDescriptionvoidPatch.addDelta(AbstractDelta<T> delta) Add the given delta to this patchprivate intPatch.findPositionFuzzy(Patch.PatchApplyingContext<T> ctx, AbstractDelta<T> delta) private intPatch.findPositionWithFuzz(Patch.PatchApplyingContext<T> ctx, AbstractDelta<T> delta, int fuzz) private intPatch.findPositionWithFuzzAndMoreDelta(Patch.PatchApplyingContext<T> ctx, AbstractDelta<T> delta, int fuzz, int moreDelta) voidConflictOutput.processConflict(VerifyChunk verifyChunk, AbstractDelta<T> delta, List<T> result) -
Uses of AbstractDelta in com.github.difflib.text
Methods in com.github.difflib.text that return types with arguments of type AbstractDeltaModifier and TypeMethodDescriptionprivate List<AbstractDelta<String>> DiffRowGenerator.decompressDeltas(AbstractDelta<String> delta) Decompresses ChangeDeltas with different source and target size to a ChangeDelta with same size and a following InsertDelta or DeleteDelta.Methods in com.github.difflib.text with parameters of type AbstractDeltaModifier and TypeMethodDescriptionprivate List<AbstractDelta<String>> DiffRowGenerator.decompressDeltas(AbstractDelta<String> delta) Decompresses ChangeDeltas with different source and target size to a ChangeDelta with same size and a following InsertDelta or DeleteDelta.DiffRowGenerator.generateInlineDiffs(AbstractDelta<String> delta) Add the inline diffs for given deltaprivate intDiffRowGenerator.transformDeltaIntoDiffRow(List<String> original, int endPos, List<DiffRow> diffRows, AbstractDelta<String> delta) Transforms one patch delta into a DiffRow object. -
Uses of AbstractDelta in com.github.difflib.unifieddiff
Methods in com.github.difflib.unifieddiff with parameters of type AbstractDeltaModifier and TypeMethodDescriptionprivate static voidUnifiedDiffWriter.getDeltaText(Consumer<String> writer, AbstractDelta<String> delta) getDeltaText returns the lines to be added to the Unified Diff text from the Delta parameter.