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

createNewMap() — spring-boot Function Reference

Architecture documentation for the createNewMap() function in MapBinder.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  cedd6119_32ef_a246_afec_d50dfb21ef7f["createNewMap()"]
  2fa630e4_caba_dc86_a5d4_c604ca114a18["merge()"]
  2fa630e4_caba_dc86_a5d4_c604ca114a18 -->|calls| cedd6119_32ef_a246_afec_d50dfb21ef7f
  70e981e6_49fc_4934_abc2_88bf1f1920dd["copyIfPossible()"]
  70e981e6_49fc_4934_abc2_88bf1f1920dd -->|calls| cedd6119_32ef_a246_afec_d50dfb21ef7f
  caa47bc3_2301_1297_fa81_5a3a561da1ae["createMap()"]
  cedd6119_32ef_a246_afec_d50dfb21ef7f -->|calls| caa47bc3_2301_1297_fa81_5a3a561da1ae
  style cedd6119_32ef_a246_afec_d50dfb21ef7f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/MapBinder.java lines 142–146

	private Map<Object, Object> createNewMap(Class<?> mapClass, Map<Object, Object> map) {
		Map<Object, Object> result = CollectionFactory.createMap(mapClass, map.size());
		result.putAll(map);
		return result;
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does createNewMap() do?
createNewMap() is a function in the spring-boot codebase.
What does createNewMap() call?
createNewMap() calls 1 function(s): createMap.
What calls createNewMap()?
createNewMap() is called by 2 function(s): copyIfPossible, merge.

Analyze Your Own Codebase

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

Try Supermodel Free