Module org.refcodes.serial
Package org.refcodes.serial
Interface LengthWidthAccessor.LengthWidthBuilder<B extends LengthWidthAccessor.LengthWidthBuilder<B>>
- Type Parameters:
B
- The builder to return in order to be able to apply multiple build operations.
- All Known Implementing Classes:
StopAndWaitPacketStreamSegmentDecorator.Builder
,TransmissionMetrics.Builder
- Enclosing interface:
LengthWidthAccessor
public static interface LengthWidthAccessor.LengthWidthBuilder<B extends LengthWidthAccessor.LengthWidthBuilder<B>>
Provides a builder method for a length width (in bytes) property
returning the builder for applying multiple build operations.
-
Method Summary
Modifier and TypeMethodDescriptionwithLengthWidth
(int aLengthWidth) Sets the length width (in bytes) for the length width (in bytes) property.
-
Method Details
-
withLengthWidth
Sets the length width (in bytes) for the length width (in bytes) property.- Parameters:
aLengthWidth
- The length width (in bytes) to be stored by the length width (in bytes) property.- Returns:
- The builder for applying multiple build operations.
-