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

flattenValues() — spring-boot Function Reference

Architecture documentation for the flattenValues() function in ConfigurationMetadata.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  a53da5e5_e145_b75f_e7e1_bc0529fac0ef["flattenValues()"]
  c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"]
  c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239 -->|calls| a53da5e5_e145_b75f_e7e1_bc0529fac0ef
  399daca2_1f8d_232a_1284_06a42c68c302["getHints()"]
  399daca2_1f8d_232a_1284_06a42c68c302 -->|calls| a53da5e5_e145_b75f_e7e1_bc0529fac0ef
  f105e48c_ad3a_c2df_782b_3ee367f4e4fa["getIgnored()"]
  f105e48c_ad3a_c2df_782b_3ee367f4e4fa -->|calls| a53da5e5_e145_b75f_e7e1_bc0529fac0ef
  style a53da5e5_e145_b75f_e7e1_bc0529fac0ef fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/metadata/ConfigurationMetadata.java lines 226–233

	private static <T extends Comparable<T>> List<T> flattenValues(Map<?, List<T>> map) {
		List<T> content = new ArrayList<>();
		for (List<T> values : map.values()) {
			content.addAll(values);
		}
		Collections.sort(content);
		return content;
	}

Domain

Subdomains

Frequently Asked Questions

What does flattenValues() do?
flattenValues() is a function in the spring-boot codebase.
What calls flattenValues()?
flattenValues() is called by 3 function(s): getHints, getIgnored, getItems.

Analyze Your Own Codebase

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

Try Supermodel Free