Class CollectionAccessor<T,C extends Collection<T>>

java.lang.Object
org.tquadrat.foundation.config.spi.prefs.PreferenceAccessor<C>
org.tquadrat.foundation.config.spi.prefs.CollectionAccessor<T,C>
Type Parameters:
T - The component type of the Collection.
C - The type of the Collection.
Direct Known Subclasses:
ListAccessor, SetAccessor

@ClassVersion(sourceVersion="$Id: CollectionAccessor.java 1061 2023-09-25 16:32:43Z tquadrat $") @API(status=STABLE, since="0.0.1") public abstract sealed class CollectionAccessor<T,C extends Collection<T>> extends PreferenceAccessor<C> permits ListAccessor<T>, SetAccessor<T>

The abstract base class for implementations of PreferenceAccessor for instances of implementations of Collection.

Note:
  • This class requires that there is an implementation of StringConverter available for the collection's component type.
Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: CollectionAccessor.java 1061 2023-09-25 16:32:43Z tquadrat $
Since:
0.0.1
UML Diagram
UML Diagram for "org.tquadrat.foundation.config.spi.prefs.CollectionAccessor"

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

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