public abstract class AbstractDelta<T> extends Object
| Constructor and Description |
|---|
AbstractDelta(DeltaType type,
Chunk<T> source,
Chunk<T> target) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
applyTo(List<T> target) |
boolean |
equals(Object obj) |
Chunk<T> |
getSource() |
Chunk<T> |
getTarget() |
DeltaType |
getType() |
int |
hashCode() |
abstract void |
restore(List<T> target) |
protected void |
verifyChunk(List<T> target)
Verify the chunk of this delta, to fit the target.
|
public DeltaType getType()
protected void verifyChunk(List<T> target) throws PatchFailedException
target - PatchFailedExceptionpublic abstract void applyTo(List<T> target) throws PatchFailedException
PatchFailedExceptionCopyright © 2009–2018 java-diff-utils. All rights reserved.