public class EqualDelta<T> extends AbstractDelta<T>
Constructor and Description |
---|
EqualDelta(Chunk<T> source,
Chunk<T> target) |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(List<T> target) |
void |
restore(List<T> target) |
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, verifyChunk
public void applyTo(List<T> target) throws PatchFailedException
applyTo
in class AbstractDelta<T>
PatchFailedException
public void restore(List<T> target)
restore
in class AbstractDelta<T>
public AbstractDelta<T> withChunks(Chunk<T> original, Chunk<T> revised)
AbstractDelta
withChunks
in class AbstractDelta<T>
Copyright © 2009–2020 java-diff-utils. All rights reserved.