Home / Function/ fastElementEquals() — spring-boot Function Reference

fastElementEquals() — spring-boot Function Reference

Architecture documentation for the fastElementEquals() function in ConfigurationPropertyName.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  94808df1_a912_31f3_9c05_3bb5d9fd77ab["fastElementEquals()"]
  07388bc7_3887_e4be_dded_08ca2fc82797["elementDiffers()"]
  07388bc7_3887_e4be_dded_08ca2fc82797 -->|calls| 94808df1_a912_31f3_9c05_3bb5d9fd77ab
  078d0419_5dac_13e0_535f_d4e66b97b64b["getLength()"]
  94808df1_a912_31f3_9c05_3bb5d9fd77ab -->|calls| 078d0419_5dac_13e0_535f_d4e66b97b64b
  56983625_becb_2cdb_d3ed_1a0eb7c431a9["charAt()"]
  94808df1_a912_31f3_9c05_3bb5d9fd77ab -->|calls| 56983625_becb_2cdb_d3ed_1a0eb7c431a9
  style 94808df1_a912_31f3_9c05_3bb5d9fd77ab 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 406–422

	private boolean fastElementEquals(Elements e1, Elements e2, int i) {
		int length1 = e1.getLength(i);
		int length2 = e2.getLength(i);
		if (length1 == length2) {
			int i1 = 0;
			while (length1-- != 0) {
				char ch1 = e1.charAt(i, i1);
				char ch2 = e2.charAt(i, i1);
				if (ch1 != ch2) {
					return false;
				}
				i1++;
			}
			return true;
		}
		return false;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does fastElementEquals() do?
fastElementEquals() is a function in the spring-boot codebase.
What does fastElementEquals() call?
fastElementEquals() calls 2 function(s): charAt, getLength.
What calls fastElementEquals()?
fastElementEquals() 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