| Modifier and Type | Field and Description |
|---|---|
| private final Chunk | |
| private final Chunk | |
| private final DeltaType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | applyFuzzyToAt(List<T>
the list this patch will be applied to target, int the number of elements to ignore before/after the patched elements fuzz, int the position this patch will be applied to. ignores position)source.getPosition()Apply patch fuzzy. |
| protected abstract void | |
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public Chunk | |
| public Chunk | |
| public DeltaType | |
| public int | |
| protected abstract void | |
| protected VerifyChunk | |
| protected VerifyChunk | |
| public abstract AbstractDelta | withChunks(Chunk<T> original, Chunk<T> revised)
Create a new delta of the actual instance with customized chunk data. |
| source | back to summary |
|---|---|
| private final Chunk<T> source | |
| target | back to summary |
|---|---|
| private final Chunk<T> target | |
| type | back to summary |
|---|---|
| private final DeltaType type | |
| AbstractDelta | back to summary |
|---|---|
| public AbstractDelta(DeltaType type, Chunk<T> source, Chunk<T> target) | |
| applyFuzzyToAt | back to summary |
|---|---|
| protected void applyFuzzyToAt(List<T> target, int fuzz, int position) throws PatchFailedException Apply patch fuzzy.
| |
| applyTo | back to summary |
|---|---|
| protected abstract void applyTo(List<T> target) throws PatchFailedException | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getSource | back to summary |
|---|---|
| public Chunk | |
| getTarget | back to summary |
|---|---|
| public Chunk | |
| getType | back to summary |
|---|---|
| public DeltaType getType() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| restore | back to summary |
|---|---|
| protected abstract void restore(List<T> target) | |
| verifyAndApplyTo | back to summary |
|---|---|
| protected VerifyChunk verifyAndApplyTo(List<T> target) throws PatchFailedException | |
| verifyChunkToFitTarget | back to summary |
|---|---|
| protected VerifyChunk verifyChunkToFitTarget(List<T> target) throws PatchFailedException Verify the chunk of this delta, to fit the target. | |
| withChunks | back to summary |
|---|---|
| public abstract AbstractDelta Create a new delta of the actual instance with customized chunk data. | |