Module org.refcodes.serial
Package org.refcodes.serial
Interface MagicBytesLengthAccessor.MagicBytesLengthProperty
- All Superinterfaces:
MagicBytesLengthAccessor
,MagicBytesLengthAccessor.MagicBytesLengthMutator
- Enclosing interface:
- MagicBytesLengthAccessor
public static interface MagicBytesLengthAccessor.MagicBytesLengthProperty
extends MagicBytesLengthAccessor, MagicBytesLengthAccessor.MagicBytesLengthMutator
Provides a magic bytes length property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.serial.MagicBytesLengthAccessor
MagicBytesLengthAccessor.MagicBytesLengthBuilder<B extends MagicBytesLengthAccessor.MagicBytesLengthBuilder<B>>, MagicBytesLengthAccessor.MagicBytesLengthMutator, MagicBytesLengthAccessor.MagicBytesLengthProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letMagicBytesLength
(int aMagicBytesLength) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofMagicBytesLengthAccessor.MagicBytesLengthMutator.setMagicBytesLength(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.serial.MagicBytesLengthAccessor
getMagicBytesLength
Methods inherited from interface org.refcodes.serial.MagicBytesLengthAccessor.MagicBytesLengthMutator
setMagicBytesLength
-
Method Details
-
letMagicBytesLength
default int letMagicBytesLength(int aMagicBytesLength) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofMagicBytesLengthAccessor.MagicBytesLengthMutator.setMagicBytesLength(int)
and returns the very same value (getter).- Parameters:
aMagicBytesLength
- The integer to set (viaMagicBytesLengthAccessor.MagicBytesLengthMutator.setMagicBytesLength(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-