Module org.refcodes.serial
Package org.refcodes.serial
Interface PacketLengthWidthAccessor.PacketLengthWidthProperty
- All Superinterfaces:
PacketLengthWidthAccessor
,PacketLengthWidthAccessor.PacketLengthWidthMutator
- Enclosing interface:
- PacketLengthWidthAccessor
public static interface PacketLengthWidthAccessor.PacketLengthWidthProperty
extends PacketLengthWidthAccessor, PacketLengthWidthAccessor.PacketLengthWidthMutator
Provides a packet length width (in bytes) property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.serial.PacketLengthWidthAccessor
PacketLengthWidthAccessor.PacketLengthWidthBuilder<B extends PacketLengthWidthAccessor.PacketLengthWidthBuilder<B>>, PacketLengthWidthAccessor.PacketLengthWidthMutator, PacketLengthWidthAccessor.PacketLengthWidthProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letPacketLengthWidth
(int aPacketLengthWidth) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofPacketLengthWidthAccessor.PacketLengthWidthMutator.setPacketLengthWidth(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.serial.PacketLengthWidthAccessor
getPacketLengthWidth
Methods inherited from interface org.refcodes.serial.PacketLengthWidthAccessor.PacketLengthWidthMutator
setPacketLengthWidth
-
Method Details
-
letPacketLengthWidth
default int letPacketLengthWidth(int aPacketLengthWidth) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofPacketLengthWidthAccessor.PacketLengthWidthMutator.setPacketLengthWidth(int)
and returns the very same value (getter).- Parameters:
aPacketLengthWidth
- The integer to set (viaPacketLengthWidthAccessor.PacketLengthWidthMutator.setPacketLengthWidth(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-