Class DoubleArraySection

java.lang.Object
org.refcodes.serial.AbstractPayloadSection<double[]>
org.refcodes.serial.DoubleArraySection
All Implemented Interfaces:
Serializable, org.refcodes.mixin.AliasAccessor, org.refcodes.mixin.LengthAccessor, org.refcodes.mixin.PayloadAccessor<double[]>, org.refcodes.mixin.PayloadAccessor.PayloadBuilder<double[],PayloadTransmission<double[]>>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<double[]>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<double[]>, org.refcodes.mixin.Schemable<SerialSchema>, PayloadSection<double[]>, PayloadTransmission<double[]>, Section, Section.SectionMixin, Transmission, Transmission.TransmissionMixin

public class DoubleArraySection extends AbstractPayloadSection<double[]> implements PayloadSection<double[]>
The DoubleArraySection is an implementation of a Section carrying a double array as payload.
See Also:
  • Field Details

  • Constructor Details

    • DoubleArraySection

      public DoubleArraySection(TransmissionMetrics aTransmissionMetrics)
      Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
      Parameters:
      aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
    • DoubleArraySection

      public DoubleArraySection(TransmissionMetrics aTransmissionMetrics, double... aValue)
      Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
      Parameters:
      aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
      aValue - The payload to be contained by the DoubleArraySection.
    • DoubleArraySection

      public DoubleArraySection(TransmissionMetrics aTransmissionMetrics, Double... aValue)
      Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
      Parameters:
      aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
      aValue - The payload to be contained by the DoubleArraySection.
    • DoubleArraySection

      public DoubleArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics)
      Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
      Parameters:
      aAlias - The alias which identifies the content of this instance.
      aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
    • DoubleArraySection

      public DoubleArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, double... aValue)
      Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
      Parameters:
      aAlias - The alias which identifies the content of this instance.
      aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
      aValue - The payload to be contained by the DoubleArraySection.
    • DoubleArraySection

      public DoubleArraySection(String aAlias, TransmissionMetrics aTransmissionMetrics, Double... aValue)
      Constructs an according instance from the given configuration. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
      Parameters:
      aAlias - The alias which identifies the content of this instance.
      aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
      aValue - The payload to be contained by the DoubleArraySection.
    • DoubleArraySection

      public DoubleArraySection()
      Constructs an empty DoubleArraySection with a TransmissionMetrics.DEFAULT_ENDIANESS endian representation of the DoubleArraySection's value.
    • DoubleArraySection

      public DoubleArraySection(org.refcodes.numerical.Endianess aEndianess)
      Constructs an empty DoubleArraySection with the given Endianess.
      Parameters:
      aEndianess - The Endianess to be used for payload values.
    • DoubleArraySection

      public DoubleArraySection(double... aValue)
      Constructs a DoubleArraySection with the given double array payload and a TransmissionMetrics.DEFAULT_ENDIANESS endian representation of the DoubleArraySection's value.
      Parameters:
      aValue - The payload to be contained by the DoubleArraySection.
    • DoubleArraySection

      public DoubleArraySection(Double... aValue)
      Constructs a DoubleArraySection with the given double array payload and a TransmissionMetrics.DEFAULT_ENDIANESS endian representation of the DoubleArraySection's value.
      Parameters:
      aValue - The payload to be contained by the DoubleArraySection.
    • DoubleArraySection

      public DoubleArraySection(org.refcodes.numerical.Endianess aEndianess, double... aValue)
      Constructs a DoubleArraySection with the given double array payload and the given Endianess for the representation of the DoubleArraySection's value.
      Parameters:
      aEndianess - The Endianess to be used for payload values.
      aValue - The payload to be contained by the DoubleArraySection.
    • DoubleArraySection

      public DoubleArraySection(org.refcodes.numerical.Endianess aEndianess, Double... aValue)
      Constructs a DoubleArraySection with the given double array payload and the given Endianess for the representation of the DoubleArraySection's value.
      Parameters:
      aEndianess - The Endianess to be used for payload values.
      aValue - The payload to be contained by the DoubleArraySection.
    • DoubleArraySection

      public DoubleArraySection(String aAlias)
      Constructs an empty DoubleArraySection with a TransmissionMetrics.DEFAULT_ENDIANESS endian representation of the DoubleArraySection's value.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
    • DoubleArraySection

      public DoubleArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess)
      Constructs an empty DoubleArraySection with the given Endianess.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
      aEndianess - The Endianess to be used for payload values.
    • DoubleArraySection

      public DoubleArraySection(String aAlias, double... aValue)
      Constructs a DoubleArraySection with the given double array payload and a TransmissionMetrics.DEFAULT_ENDIANESS endian representation of the DoubleArraySection's value.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
      aValue - The payload to be contained by the DoubleArraySection.
    • DoubleArraySection

      public DoubleArraySection(String aAlias, Double... aValue)
      Constructs a DoubleArraySection with the given double array payload and a TransmissionMetrics.DEFAULT_ENDIANESS endian representation of the DoubleArraySection's value.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
      aValue - The payload to be contained by the DoubleArraySection.
    • DoubleArraySection

      public DoubleArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, double... aValue)
      Constructs a DoubleArraySection with the given double array payload and the given Endianess for the representation of the DoubleArraySection's value.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
      aEndianess - The Endianess to be used for payload values.
      aValue - The payload to be contained by the DoubleArraySection.
    • DoubleArraySection

      public DoubleArraySection(String aAlias, org.refcodes.numerical.Endianess aEndianess, Double... aValue)
      Constructs a DoubleArraySection with the given double array payload and the given Endianess for the representation of the DoubleArraySection's value.
      Parameters:
      aAlias - The alias which identifies the content of this segment.
      aEndianess - The Endianess to be used for payload values.
      aValue - The payload to be contained by the DoubleArraySection.
  • Method Details