hashCode() — spring-boot Function Reference
Architecture documentation for the hashCode() function in ConfigurationPropertyName.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD cce0dfb6_ea90_0071_2afd_34d33e6ea460["hashCode()"] 8a6be112_e824_3dbf_3f8b_37ebf6451b22["hashCode()"] 8a6be112_e824_3dbf_3f8b_37ebf6451b22 -->|calls| cce0dfb6_ea90_0071_2afd_34d33e6ea460 8a6be112_e824_3dbf_3f8b_37ebf6451b22["hashCode()"] cce0dfb6_ea90_0071_2afd_34d33e6ea460 -->|calls| 8a6be112_e824_3dbf_3f8b_37ebf6451b22 8d8ef66e_fc29_736c_c815_846df9fa8305["getType()"] cce0dfb6_ea90_0071_2afd_34d33e6ea460 -->|calls| 8d8ef66e_fc29_736c_c815_846df9fa8305 50ab77a1_5a37_b789_ed17_ece7194cd0be["isIndexed()"] cce0dfb6_ea90_0071_2afd_34d33e6ea460 -->|calls| 50ab77a1_5a37_b789_ed17_ece7194cd0be 078d0419_5dac_13e0_535f_d4e66b97b64b["getLength()"] cce0dfb6_ea90_0071_2afd_34d33e6ea460 -->|calls| 078d0419_5dac_13e0_535f_d4e66b97b64b 56983625_becb_2cdb_d3ed_1a0eb7c431a9["charAt()"] cce0dfb6_ea90_0071_2afd_34d33e6ea460 -->|calls| 56983625_becb_2cdb_d3ed_1a0eb7c431a9 430b149a_e3e6_97d3_bf18_d283af9cad2e["isAlphaNumeric()"] cce0dfb6_ea90_0071_2afd_34d33e6ea460 -->|calls| 430b149a_e3e6_97d3_bf18_d283af9cad2e style cce0dfb6_ea90_0071_2afd_34d33e6ea460 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 922–939
int hashCode(int index) {
int hashCode = this.hashCode[index];
if (hashCode == 0) {
boolean indexed = getType(index).isIndexed();
int length = getLength(index);
for (int i = 0; i < length; i++) {
char ch = charAt(index, i);
if (!indexed) {
ch = Character.toLowerCase(ch);
}
if (ElementsParser.isAlphaNumeric(ch)) {
hashCode = 31 * hashCode + ch;
}
}
this.hashCode[index] = hashCode;
}
return hashCode;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does hashCode() do?
hashCode() is a function in the spring-boot codebase.
What does hashCode() call?
hashCode() calls 6 function(s): charAt, getLength, getType, hashCode, isAlphaNumeric, isIndexed.
What calls hashCode()?
hashCode() is called by 1 function(s): hashCode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free