Class SectionComposite<ALLOC extends AllocSectionDecoratorSegment<CHILD>,CHILD extends Section>

java.lang.Object
org.refcodes.serial.SectionComposite<ALLOC,CHILD>
Type Parameters:
ALLOC - The type of the AllocSectionDecoratorSegment describing the length of each Section element in the composite.
CHILD - The type of the Section elements to be contained in the SectionComposite.
All Implemented Interfaces:
Serializable, org.refcodes.mixin.ChildrenAccessor<CHILD[]>, org.refcodes.mixin.LengthAccessor, org.refcodes.mixin.Schemable<SerialSchema>, Section, Section.SectionMixin, Transmission, Transmission.TransmissionMixin, TransmissionComposite<CHILD>

public class SectionComposite<ALLOC extends AllocSectionDecoratorSegment<CHILD>,CHILD extends Section> extends Object implements Section, Section.SectionMixin, TransmissionComposite<CHILD>
A SectionComposite is a Section consisting of Section elements of a variable length each: Each Section element in the composite need not be of the same size. This is achieved by wrapping each Section inside a dedicated AllocSectionDecoratorSegment being a Segment providing the resulting Section's length (with all the composite's Section instances).
See Also: