Describes the change-delta between original and revised texts.
| Access | Constructor and Description |
|---|---|
| public | ChangeDelta(Chunk<T>
The original chunk. Must not be original, Chunk<T> null.The original chunk. Must not be revised)null.Creates a change delta with the two given chunks. |
| Modifier and Type | Method and Description |
|---|---|
| public void | applyTo(List<T>
the given target target)Implements abstract org. |
| public Delta. | |
| public void | verify(List<T>
the text to patch. target)Implements abstract org. |
| ChangeDelta | back to summary |
|---|---|
| public ChangeDelta(Chunk<T> original, Chunk<T> revised) Creates a change delta with the two given chunks. | |
| applyTo | back to summary |
|---|---|
| public void applyTo(List<T> target) throws IllegalStateException Implements abstract org. Doc from org. Applies this delta as the patch for a given target
| |
| getType | back to summary |
|---|---|
| public Delta. Implements abstract org. Doc from org. Returns the type of delta | |
| verify | back to summary |
|---|---|
| public void verify(List<T> target) throws IllegalStateException Implements abstract org. Doc from org. Verifies that this delta can be used to patch the given text.
| |