Class PrimitiveIntAccessor

java.lang.Object
org.tquadrat.foundation.config.spi.prefs.PreferenceAccessor<Integer>
org.tquadrat.foundation.config.spi.prefs.PrimitiveIntAccessor

@ClassVersion(sourceVersion="$Id: PrimitiveIntAccessor.java 914 2021-05-07 21:22:12Z tquadrat $") @API(status=STABLE, since="0.0.1") public final class PrimitiveIntAccessor extends PreferenceAccessor<Integer>

The implementation of PreferenceAccessor for int.

This differs from IntegerAccessor as it forces 0 (zero) as the default value, while the other implementation has null as the default value.

Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: PrimitiveIntAccessor.java 914 2021-05-07 21:22:12Z tquadrat $
Since:
0.0.1
UML Diagram
UML Diagram for "org.tquadrat.foundation.config.spi.prefs.PrimitiveIntAccessor"

UML Diagram for "org.tquadrat.foundation.config.spi.prefs.PrimitiveIntAccessor"

UML Diagram for "org.tquadrat.foundation.config.spi.prefs.PrimitiveIntAccessor"