T - The type of the compared elements in the data 'lines'.public final class ChangeDelta<T> extends AbstractDelta<T>
| Constructor and Description |
|---|
ChangeDelta(Chunk<T> source,
Chunk<T> target)
Creates a change delta with the two given chunks.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyTo(java.util.List<T> target) |
protected void |
restore(java.util.List<T> target) |
java.lang.String |
toString() |
AbstractDelta<T> |
withChunks(Chunk<T> original,
Chunk<T> revised)
Create a new delta of the actual instance with customized chunk data.
|
equals, getSource, getTarget, getType, hashCode, verifyAntApplyTo, verifyChunkToFitTargetprotected void applyTo(java.util.List<T> target) throws PatchFailedException
applyTo in class AbstractDelta<T>PatchFailedExceptionprotected void restore(java.util.List<T> target)
restore in class AbstractDelta<T>public java.lang.String toString()
toString in class java.lang.Objectpublic AbstractDelta<T> withChunks(Chunk<T> original, Chunk<T> revised)
AbstractDeltawithChunks in class AbstractDelta<T>