Module org.refcodes.serial
Package org.refcodes.serial
Interface LengthWidthAccessor.LengthWidthProperty
-
- All Superinterfaces:
LengthWidthAccessor
,LengthWidthAccessor.LengthWidthMutator
- All Known Implementing Classes:
TransmissionMetricsBuilder
- Enclosing interface:
- LengthWidthAccessor
public static interface LengthWidthAccessor.LengthWidthProperty extends LengthWidthAccessor, LengthWidthAccessor.LengthWidthMutator
Provides a length width (in bytes) property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.serial.LengthWidthAccessor
LengthWidthAccessor.LengthWidthBuilder<B extends LengthWidthAccessor.LengthWidthBuilder<B>>, LengthWidthAccessor.LengthWidthMutator, LengthWidthAccessor.LengthWidthProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default int
letLengthWidth(int aLengthWidth)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofLengthWidthAccessor.LengthWidthMutator.setLengthWidth(int)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.serial.LengthWidthAccessor
getLengthWidth
-
Methods inherited from interface org.refcodes.serial.LengthWidthAccessor.LengthWidthMutator
setLengthWidth
-
-
-
-
Method Detail
-
letLengthWidth
default int letLengthWidth(int aLengthWidth)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofLengthWidthAccessor.LengthWidthMutator.setLengthWidth(int)
and returns the very same value (getter).- Parameters:
aLengthWidth
- The integer to set (viaLengthWidthAccessor.LengthWidthMutator.setLengthWidth(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-