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 |
|---|---|
void |
applyTo(List<T> target) |
void |
restore(List<T> target) |
String |
toString() |
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>Copyright © 2009–2018 java-diff-utils. All rights reserved.