Class InsertDelta<T>

  • Type Parameters:
    T - The type of the compared elements in the 'lines'.

    public class InsertDelta<T>
    extends Delta<T>
    Initially copied from https://code.google.com/p/java-diff-utils/.

    Describes the add-delta between original and revised texts.

    Author:
    Dmitry Naumenko
    • 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.