Class ChangeDelta<T>

  • Type Parameters:
    T - The type of the compared elements in the data 'lines'.
    All Implemented Interfaces:
    java.io.Serializable

    public final class ChangeDelta<T>
    extends AbstractDelta<T>
    Describes the change-delta between original and revised texts.
    See Also:
    Serialized Form
    • Constructor Detail

      • ChangeDelta

        public ChangeDelta​(Chunk<T> source,
                           Chunk<T> target)
        Creates a change delta with the two given chunks.
        Parameters:
        source - The source chunk. Must not be null.
        target - The target chunk. Must not be null.