Module org.refcodes.serial
Package org.refcodes.serial
Interface LengthWidthAccessor.LengthWidthProperty
- All Superinterfaces:
LengthWidthAccessor
,LengthWidthAccessor.LengthWidthMutator
- 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
Modifier and TypeMethodDescriptiondefault 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 Details
-
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.
-