elementDiffers() — spring-boot Function Reference
Architecture documentation for the elementDiffers() function in ConfigurationPropertyName.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 07388bc7_3887_e4be_dded_08ca2fc82797["elementDiffers()"] 4cab22fa_2872_d8a9_193e_230e922dca3f["endsWithElementsEqualTo()"] 4cab22fa_2872_d8a9_193e_230e922dca3f -->|calls| 07388bc7_3887_e4be_dded_08ca2fc82797 8d8ef66e_fc29_736c_c815_846df9fa8305["getType()"] 07388bc7_3887_e4be_dded_08ca2fc82797 -->|calls| 8d8ef66e_fc29_736c_c815_846df9fa8305 94808df1_a912_31f3_9c05_3bb5d9fd77ab["fastElementEquals()"] 07388bc7_3887_e4be_dded_08ca2fc82797 -->|calls| 94808df1_a912_31f3_9c05_3bb5d9fd77ab a99d6915_188f_3a46_73ca_2c6145bcc19c["dashIgnoringElementEquals()"] 07388bc7_3887_e4be_dded_08ca2fc82797 -->|calls| a99d6915_188f_3a46_73ca_2c6145bcc19c 8aa69731_1d81_ef29_4a8d_32ed04e2190e["defaultElementEquals()"] 07388bc7_3887_e4be_dded_08ca2fc82797 -->|calls| 8aa69731_1d81_ef29_4a8d_32ed04e2190e style 07388bc7_3887_e4be_dded_08ca2fc82797 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java lines 394–404
private boolean elementDiffers(Elements e1, Elements e2, int i) {
ElementType type1 = e1.getType(i);
ElementType type2 = e2.getType(i);
if (type1.allowsFastEqualityCheck() && type2.allowsFastEqualityCheck()) {
return !fastElementEquals(e1, e2, i);
}
if (type1.allowsDashIgnoringEqualityCheck() && type2.allowsDashIgnoringEqualityCheck()) {
return !dashIgnoringElementEquals(e1, e2, i);
}
return !defaultElementEquals(e1, e2, i);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does elementDiffers() do?
elementDiffers() is a function in the spring-boot codebase.
What does elementDiffers() call?
elementDiffers() calls 4 function(s): dashIgnoringElementEquals, defaultElementEquals, fastElementEquals, getType.
What calls elementDiffers()?
elementDiffers() is called by 1 function(s): endsWithElementsEqualTo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free