Class ChangeDelta<T>

java.lang.Object
org.assertj.core.util.diff.Delta<T>
org.assertj.core.util.diff.ChangeDelta<T>
Type Parameters:
T - The type of the compared elements in the 'lines'.

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

Describes the change-delta between original and revised texts.

Author:
Dmitry Naumenko
  • Constructor Details

    • ChangeDelta

      public ChangeDelta(Chunk<T> original, Chunk<T> revised)
      Creates a change delta with the two given chunks.
      Parameters:
      original - The original chunk. Must not be null.
      revised - The original chunk. Must not be null.
  • Method Details