Module org.refcodes.numerical
Package org.refcodes.numerical
Interface CrcWidthAccessor.CrcWidthProperty
- All Superinterfaces:
CrcWidthAccessor
,CrcWidthAccessor.CrcWidthMutator
- Enclosing interface:
- CrcWidthAccessor
public static interface CrcWidthAccessor.CrcWidthProperty
extends CrcWidthAccessor, CrcWidthAccessor.CrcWidthMutator
Provides a CRC byte width (number of bytes used to store a CRC checksum)
property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.numerical.CrcWidthAccessor
CrcWidthAccessor.CrcWidthBuilder<B extends CrcWidthAccessor.CrcWidthBuilder<B>>, CrcWidthAccessor.CrcWidthMutator, CrcWidthAccessor.CrcWidthProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letCrcWidth
(int aCrcWidth) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofCrcWidthAccessor.CrcWidthMutator.setCrcWidth(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.numerical.CrcWidthAccessor
getCrcWidth
Methods inherited from interface org.refcodes.numerical.CrcWidthAccessor.CrcWidthMutator
setCrcWidth
-
Method Details
-
letCrcWidth
default int letCrcWidth(int aCrcWidth) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofCrcWidthAccessor.CrcWidthMutator.setCrcWidth(int)
and returns the very same value (getter).- Parameters:
aCrcWidth
- The integer to set (viaCrcWidthAccessor.CrcWidthMutator.setCrcWidth(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-