Package org.assertj.core.internal
Class IndexedDiff
- java.lang.Object
-
- org.assertj.core.internal.IndexedDiff
-
public class IndexedDiff extends java.lang.Object
Immutable class modeling the actual and expected elements at a given index.
-
-
Constructor Summary
Constructors Constructor Description IndexedDiff(java.lang.Object actual, java.lang.Object expected, int index)
Create aIndexedDiff
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
IndexedDiff
public IndexedDiff(java.lang.Object actual, java.lang.Object expected, int index)
Create aIndexedDiff
.- Parameters:
actual
- the actual value of the diff.expected
- the expected value of the diff.index
- the index the diff occurred at.
-
-