public final class DeleteDelta<T> extends AbstractDelta<T>
Constructor and Description |
---|
DeleteDelta(Chunk<T> original,
Chunk<T> revised)
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, 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>
Copyright © 2009–2018 java-diff-utils. All rights reserved.