Class InsertDelta<T>

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

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

      • InsertDelta

        public InsertDelta​(Chunk<T> original,
                           Chunk<T> revised)
        Creates an insert delta with the two given chunks.
        Parameters:
        original - The original chunk. Must not be null.
        revised - The original chunk. Must not be null.