Mapper Type — spring-boot Architecture
Architecture documentation for the Mapper type/interface in PropertyMapper.java from the spring-boot codebase.
Entity Profile
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/PropertyMapper.java lines 543–554
@FunctionalInterface
public interface Mapper<R extends @Nullable Object, T> {
/**
* Map a existing instance for the given nullable value.
* @param instance the existing instance
* @param value the value to map (may be {@code null})
* @return the resulting mapped instance
*/
R map(R instance, @Nullable T value);
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free