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, verifyChunkpublic void applyTo(List<T> target) throws PatchFailedException
applyTo in class AbstractDelta<T>PatchFailedExceptionpublic void restore(List<T> target)
restore in class AbstractDelta<T>public AbstractDelta<T> withChunks(Chunk<T> original, Chunk<T> revised)
AbstractDeltawithChunks in class AbstractDelta<T>Copyright © 2009–2020 java-diff-utils. All rights reserved.