dashIgnoringElementEquals() — spring-boot Function Reference
Architecture documentation for the dashIgnoringElementEquals() function in ConfigurationPropertyName.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD a99d6915_188f_3a46_73ca_2c6145bcc19c["dashIgnoringElementEquals()"] 07388bc7_3887_e4be_dded_08ca2fc82797["elementDiffers()"] 07388bc7_3887_e4be_dded_08ca2fc82797 -->|calls| a99d6915_188f_3a46_73ca_2c6145bcc19c 078d0419_5dac_13e0_535f_d4e66b97b64b["getLength()"] a99d6915_188f_3a46_73ca_2c6145bcc19c -->|calls| 078d0419_5dac_13e0_535f_d4e66b97b64b 3731b997_1b3b_ddae_083e_05deb6a7bcd1["remainderIsDashes()"] a99d6915_188f_3a46_73ca_2c6145bcc19c -->|calls| 3731b997_1b3b_ddae_083e_05deb6a7bcd1 56983625_becb_2cdb_d3ed_1a0eb7c431a9["charAt()"] a99d6915_188f_3a46_73ca_2c6145bcc19c -->|calls| 56983625_becb_2cdb_d3ed_1a0eb7c431a9 8d8ef66e_fc29_736c_c815_846df9fa8305["getType()"] a99d6915_188f_3a46_73ca_2c6145bcc19c -->|calls| 8d8ef66e_fc29_736c_c815_846df9fa8305 50ab77a1_5a37_b789_ed17_ece7194cd0be["isIndexed()"] a99d6915_188f_3a46_73ca_2c6145bcc19c -->|calls| 50ab77a1_5a37_b789_ed17_ece7194cd0be style a99d6915_188f_3a46_73ca_2c6145bcc19c 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 424–462
private boolean dashIgnoringElementEquals(Elements e1, Elements e2, int i) {
int l1 = e1.getLength(i);
int l2 = e2.getLength(i);
int i1 = 0;
int i2 = 0;
while (i1 < l1) {
if (i2 >= l2) {
return remainderIsDashes(e1, i, i1);
}
char ch1 = e1.charAt(i, i1);
char ch2 = e2.charAt(i, i2);
if (ch1 == '-') {
i1++;
}
else if (ch2 == '-') {
i2++;
}
else if (ch1 != ch2) {
return false;
}
else {
i1++;
i2++;
}
}
if (i2 < l2) {
if (e2.getType(i).isIndexed()) {
return false;
}
do {
char ch2 = e2.charAt(i, i2++);
if (ch2 != '-') {
return false;
}
}
while (i2 < l2);
}
return true;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does dashIgnoringElementEquals() do?
dashIgnoringElementEquals() is a function in the spring-boot codebase.
What does dashIgnoringElementEquals() call?
dashIgnoringElementEquals() calls 5 function(s): charAt, getLength, getType, isIndexed, remainderIsDashes.
What calls dashIgnoringElementEquals()?
dashIgnoringElementEquals() is called by 1 function(s): elementDiffers.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free