Class IndexedDiff

java.lang.Object
org.assertj.core.internal.IndexedDiff

public class IndexedDiff extends Object
Immutable class modeling the actual and expected elements at a given index.
  • Field Details

    • actual

      public final Object actual
    • expected

      public final Object expected
    • index

      public final int index
  • Constructor Details

    • IndexedDiff

      public IndexedDiff(Object actual, Object expected, int index)
      Create a IndexedDiff.
      Parameters:
      actual - the actual value of the diff.
      expected - the expected value of the diff.
      index - the index the diff occurred at.
  • Method Details