Class AbstractArrayTransmission<ARRAY extends Transmission>

java.lang.Object
org.refcodes.serial.AbstractArrayTransmission<ARRAY>
Type Parameters:
ARRAY - The type of the array elements to be contained in this instance.
All Implemented Interfaces:
Serializable, org.refcodes.mixin.AliasAccessor, org.refcodes.mixin.ArrayAccessor<ARRAY[]>, org.refcodes.mixin.ArrayAccessor.ArrayBuilder<ARRAY[],ArrayTransmission<ARRAY>>, org.refcodes.mixin.ArrayAccessor.ArrayMutator<ARRAY[]>, org.refcodes.mixin.ArrayAccessor.ArrayProperty<ARRAY[]>, org.refcodes.mixin.LengthAccessor, org.refcodes.mixin.Schemable, ArrayTransmission<ARRAY>, Transmission
Direct Known Subclasses:
FixedSegmentArraySection, SegmentArraySection

public abstract class AbstractArrayTransmission<ARRAY extends Transmission> extends Object implements Transmission, ArrayTransmission<ARRAY>
An AbstractArrayTransmission is a Transmission consisting of Transmission elements (an array of elements).
See Also:
  • Field Details

    • _array

      protected ARRAY extends Transmission[] _array
    • _sequenceableFactory

      protected org.refcodes.factory.TypeFactory<ARRAY extends Transmission> _sequenceableFactory
    • _alias

      protected String _alias
  • Constructor Details

    • AbstractArrayTransmission

      public AbstractArrayTransmission(ARRAY... aSegments)
      Constructs an according instance with the given Segment elements. Segment instances for the array are created using the provided array's component type.
      Parameters:
      aSegments - The array containing the according Segment elements.
    • AbstractArrayTransmission

      public AbstractArrayTransmission(Collection<ARRAY> aSegments)
      Constructs an according instance with the given Segment elements. Segment instances for the array are created using the provided array's component type.
      Parameters:
      aSegments - The collection containing the according Segment elements.
    • AbstractArrayTransmission

      public AbstractArrayTransmission(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, ARRAY... aSegments)
      Constructs an according instance with the given elements. Segment instances for the array are created using the provided TypeFactory instance.
      Parameters:
      aSegmentFactory - The factory producing the the fixed length Segment elements.
      aSegments - The array containing the according Segment elements.
    • AbstractArrayTransmission

      public AbstractArrayTransmission(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, Collection<ARRAY> aSegments)
      Constructs an according instance with the given elements. Segment instances for the array are created using the provided TypeFactory instance.
      Parameters:
      aSegmentFactory - The factory producing the the fixed length Segment elements.
      aSegments - The collection containing the according Segment elements.
    • AbstractArrayTransmission

      public AbstractArrayTransmission(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory)
      Constructs an according instance with instances of the array being created using the provided TypeFactory instance.
      Parameters:
      aSegmentFactory - The factory producing the the fixed length Segment elements.
    • AbstractArrayTransmission

      public AbstractArrayTransmission(Class<ARRAY> aSegmentClass)
      Constructs an according instance with instances of the array being created using the provided Class instance.
      Parameters:
      aSegmentClass - The class from which to produce the the fixed length Segment elements.
    • AbstractArrayTransmission

      public AbstractArrayTransmission(String aAlias, ARRAY... aSegments)
      Constructs an according instance with the given Segment elements. Segment instances for the array are created using the provided array's component type.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
      aSegments - The array containing the according Segment elements.
    • AbstractArrayTransmission

      public AbstractArrayTransmission(String aAlias, Collection<ARRAY> aSegments)
      Constructs an according instance with the given Segment elements. Segment instances for the array are created using the provided array's component type.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
      aSegments - The collection containing the according Segment elements.
    • AbstractArrayTransmission

      public AbstractArrayTransmission(String aAlias, org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, ARRAY... aSegments)
      Constructs an according instance with the given elements. Segment instances for the array are created using the provided TypeFactory instance.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
      aSegmentFactory - The factory producing the the fixed length Segment elements.
      aSegments - The array containing the according Segment elements.
    • AbstractArrayTransmission

      public AbstractArrayTransmission(String aAlias, org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, Collection<ARRAY> aSegments)
      Constructs an according instance with the given elements. Segment instances for the array are created using the provided TypeFactory instance.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
      aSegmentFactory - The factory producing the the fixed length Segment elements.
      aSegments - The collection containing the according Segment elements.
    • AbstractArrayTransmission

      public AbstractArrayTransmission(String aAlias, org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory)
      Constructs an according instance with instances of the array being created using the provided TypeFactory instance.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
      aSegmentFactory - The factory producing the the fixed length Segment elements.
    • AbstractArrayTransmission

      public AbstractArrayTransmission(String aAlias, Class<ARRAY> aSegmentClass)
      Constructs an according instance with instances of the array being created using the provided Class instance.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
      aSegmentClass - The class from which to produce the the fixed length Segment elements.
  • Method Details