Top Fields Constructors Methods
org.assertj.core.api.recursive.comparison

public Class ComparisonKeyDifference

extends ComparisonDifference
Class Inheritance
Static Imports
java.lang.String.format

Field Summary

Modifier and TypeField and Description
pack-priv final Object
pack-priv final Object
pack-priv static final String
Inherited from org.assertj.core.api.recursive.comparison.ComparisonDifference:
actualadditionalInformationconcatenatedPathdecomposedPathDEFAULT_TEMPLATEexpectedtemplate

Constructor Summary

AccessConstructor and Description
public
ComparisonKeyDifference(DualValue dualValue, Object actualKey, Object expectedKey)

Method Summary

Modifier and TypeMethod and Description
public String
public String
toString()

Overrides org.assertj.core.api.recursive.comparison.ComparisonDifference.toString.

Returns a string representation of the object.
Inherited from org.assertj.core.api.recursive.comparison.ComparisonDifference:
compareToequalsfieldPathDescriptiongetActualgetAdditionalInformationgetDecomposedPathgetExpectedgetTemplatehashCodemultiLineDescriptionrootComparisonDifference

Field Detail

actualKeyback to summary
pack-priv final Object actualKey
expectedKeyback to summary
pack-priv final Object expectedKey
TEMPLATE_FOR_KEY_DIFFERENCEback to summary
pack-priv static final String TEMPLATE_FOR_KEY_DIFFERENCE

Constructor Detail

ComparisonKeyDifferenceback to summary
public ComparisonKeyDifference(DualValue dualValue, Object actualKey, Object expectedKey)

Method Detail

multiLineDescriptionback to summary
public String multiLineDescription(Representation representation)

Overrides org.assertj.core.api.recursive.comparison.ComparisonDifference.multiLineDescription.

Annotations
@Override
toStringback to summary
public String toString()

Overrides org.assertj.core.api.recursive.comparison.ComparisonDifference.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override