Class DeleteDelta<T>
java.lang.Object
com.github.difflib.patch.AbstractDelta<T>
com.github.difflib.patch.DeleteDelta<T>
- Type Parameters:
T- The type of the compared elements in the 'lines'.
- All Implemented Interfaces:
Serializable
Describes the delete-delta between original and revised texts.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteDelta(Chunk<T> original, Chunk<T> revised) Creates a change delta with the two given chunks. -
Method Summary
Methods inherited from class AbstractDelta
applyFuzzyToAt, equals, getSource, getTarget, getType, hashCode, verifyAntApplyTo, verifyChunkToFitTarget
-
Constructor Details
-
DeleteDelta
-
-
Method Details
-
applyTo
- Specified by:
applyToin classAbstractDelta<T>- Throws:
PatchFailedException
-
restore
- Specified by:
restorein classAbstractDelta<T>
-
toString
-
withChunks
Description copied from class:AbstractDeltaCreate a new delta of the actual instance with customized chunk data.- Specified by:
withChunksin classAbstractDelta<T>
-