ARRAY
- The type of the array elements to be contained in this
instance.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
, ArraySection<ARRAY>
, ArrayTransmission<ARRAY>
, Section
, Section.SectionMixin
, Transmission
, Transmission.TransmissionMixin
public class SegmentArraySection<ARRAY extends Segment> extends AbstractArrayTransmission<ARRAY> implements Section, ArraySection<ARRAY>
SegmentArraySection
is a Segment
consisting of
Segment
elements with each element of presumably different lengths (
in contrast to the FixedSegmentArraySection
).org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty
org.refcodes.mixin.ArrayAccessor.ArrayBuilder<T extends Object,B extends org.refcodes.mixin.ArrayAccessor.ArrayBuilder<T,B>>, org.refcodes.mixin.ArrayAccessor.ArrayMutator<T extends Object>, org.refcodes.mixin.ArrayAccessor.ArrayProperty<T extends Object>
org.refcodes.mixin.LengthAccessor.LengthBuilder<B extends org.refcodes.mixin.LengthAccessor.LengthBuilder<B>>, org.refcodes.mixin.LengthAccessor.LengthMutator, org.refcodes.mixin.LengthAccessor.LengthProperty
Section.SectionMixin
Transmission.TransmissionMixin
_alias, _array, _sequenceableFactory
Constructor | Description |
---|---|
SegmentArraySection(ARRAY... aSegments) |
|
SegmentArraySection(Class<ARRAY> aSegmentClass) |
|
SegmentArraySection(String aAlias,
ARRAY... aSegments) |
|
SegmentArraySection(String aAlias,
Class<ARRAY> aSegmentClass) |
|
SegmentArraySection(String aAlias,
Collection<ARRAY> aSegments) |
|
SegmentArraySection(String aAlias,
org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory) |
|
SegmentArraySection(String aAlias,
org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory,
ARRAY... aSegments) |
|
SegmentArraySection(String aAlias,
org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory,
Collection<ARRAY> aSegments) |
|
SegmentArraySection(Collection<ARRAY> aSegments) |
|
SegmentArraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory) |
|
SegmentArraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory,
ARRAY... aSegments) |
|
SegmentArraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory,
Collection<ARRAY> aSegments) |
Modifier and Type | Method | Description |
---|---|---|
void |
fromTransmission(Sequence aSequence,
int aOffset,
int aLength) |
(Re-)initializes this instance with the the given
Sequence data. |
SegmentArraySection<ARRAY> |
withArray(ARRAY[] aValue) |
getAlias, getArray, getLength, setArray, toSchema, toString
getLength, toSchema, toSimpleTypeMap, toTransmission
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fromTransmission, fromTransmission, fromTransmission, receiveFrom, receiveFrom
receiveFrom
fromInputStream, getLength, toSchema, toSimpleTypeMap, toTransmission, transmitTo, transmitTo
transmitTo
public SegmentArraySection(Collection<ARRAY> aSegments)
@SafeVarargs public SegmentArraySection(ARRAY... aSegments)
public SegmentArraySection(String aAlias, Collection<ARRAY> aSegments)
@SafeVarargs public SegmentArraySection(String aAlias, ARRAY... aSegments)
public SegmentArraySection(String aAlias, org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, Collection<ARRAY> aSegments)
@SafeVarargs public SegmentArraySection(String aAlias, org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, ARRAY... aSegments)
public SegmentArraySection(String aAlias, org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory)
public SegmentArraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, Collection<ARRAY> aSegments)
@SafeVarargs public SegmentArraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory, ARRAY... aSegments)
public SegmentArraySection(org.refcodes.factory.TypeFactory<ARRAY> aSegmentFactory)
public SegmentArraySection<ARRAY> withArray(ARRAY[] aValue)
withArray
in interface org.refcodes.mixin.ArrayAccessor.ArrayBuilder<ARRAY extends Transmission[],ArrayTransmission<ARRAY extends Transmission>>
withArray
in class AbstractArrayTransmission<ARRAY extends Segment>
public void fromTransmission(Sequence aSequence, int aOffset, int aLength) throws TransmissionException
Sequence
data.fromTransmission
in interface Section
aSequence
- The Sequence
data from which to (re-)initialize
this instance.aOffset
- The offset where to start processing the provided
Sequence
.aLength
- The length of data assigned by the Sequence
.TransmissionException
- thrown in case a given Sequence
cannot be processed.Copyright © 2021. All rights reserved.