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

getLength() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  078d0419_5dac_13e0_535f_d4e66b97b64b["getLength()"]
  94808df1_a912_31f3_9c05_3bb5d9fd77ab["fastElementEquals()"]
  94808df1_a912_31f3_9c05_3bb5d9fd77ab -->|calls| 078d0419_5dac_13e0_535f_d4e66b97b64b
  a99d6915_188f_3a46_73ca_2c6145bcc19c["dashIgnoringElementEquals()"]
  a99d6915_188f_3a46_73ca_2c6145bcc19c -->|calls| 078d0419_5dac_13e0_535f_d4e66b97b64b
  8aa69731_1d81_ef29_4a8d_32ed04e2190e["defaultElementEquals()"]
  8aa69731_1d81_ef29_4a8d_32ed04e2190e -->|calls| 078d0419_5dac_13e0_535f_d4e66b97b64b
  66f84641_103a_aca2_eafe_88a947b46547["remainderIsNotAlphanumeric()"]
  66f84641_103a_aca2_eafe_88a947b46547 -->|calls| 078d0419_5dac_13e0_535f_d4e66b97b64b
  3731b997_1b3b_ddae_083e_05deb6a7bcd1["remainderIsDashes()"]
  3731b997_1b3b_ddae_083e_05deb6a7bcd1 -->|calls| 078d0419_5dac_13e0_535f_d4e66b97b64b
  55e4845d_b617_c801_b518_23622111525d["getInvalidChars()"]
  55e4845d_b617_c801_b518_23622111525d -->|calls| 078d0419_5dac_13e0_535f_d4e66b97b64b
  cce0dfb6_ea90_0071_2afd_34d33e6ea460["hashCode()"]
  cce0dfb6_ea90_0071_2afd_34d33e6ea460 -->|calls| 078d0419_5dac_13e0_535f_d4e66b97b64b
  style 078d0419_5dac_13e0_535f_d4e66b97b64b 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 895–905

		int getLength(int index) {
			if (this.resolved != null) {
				CharSequence element = this.resolved[index];
				if (element != null) {
					return element.length();
				}
			}
			int start = this.start[index];
			int end = this.end[index];
			return end - start;
		}

Domain

Subdomains

Frequently Asked Questions

What does getLength() do?
getLength() is a function in the spring-boot codebase.
What calls getLength()?
getLength() is called by 7 function(s): dashIgnoringElementEquals, defaultElementEquals, fastElementEquals, getInvalidChars, hashCode, remainderIsDashes, remainderIsNotAlphanumeric.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free