ImmutablePrimitiveWrapperWithDefaultsProperties Class — spring-boot Architecture
Architecture documentation for the ImmutablePrimitiveWrapperWithDefaultsProperties class in ImmutablePrimitiveWrapperWithDefaultsProperties.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/immutable/ImmutablePrimitiveWrapperWithDefaultsProperties.java lines 26–60
@SuppressWarnings("unused")
public class ImmutablePrimitiveWrapperWithDefaultsProperties {
private final Boolean flag;
private final Byte octet;
private final Character letter;
private final Short number;
private final Integer counter;
private final Long value;
private final Float percentage;
private final Double ratio;
public ImmutablePrimitiveWrapperWithDefaultsProperties(@TestDefaultValue("true") Boolean flag,
@TestDefaultValue("120") Byte octet, @TestDefaultValue("a") Character letter,
@TestDefaultValue("1000") Short number, @TestDefaultValue("42") Integer counter,
@TestDefaultValue("2000") Long value, @TestDefaultValue("0.5") Float percentage,
@TestDefaultValue("42.42") Double ratio) {
this.flag = flag;
this.octet = octet;
this.letter = letter;
this.number = number;
this.counter = counter;
this.value = value;
this.percentage = percentage;
this.ratio = ratio;
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free