Module org.refcodes.serial
Package org.refcodes.serial
Interface AllocLengthAccessor.AllocLengthProperty
- All Superinterfaces:
AllocLengthAccessor
,AllocLengthAccessor.AllocLengthMutator
- All Known Implementing Classes:
AllocSegmentBody
- Enclosing interface:
- AllocLengthAccessor
public static interface AllocLengthAccessor.AllocLengthProperty
extends AllocLengthAccessor, AllocLengthAccessor.AllocLengthMutator
Provides a allocation length property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.serial.AllocLengthAccessor
AllocLengthAccessor.AllocLengthBuilder<B extends AllocLengthAccessor.AllocLengthBuilder<B>>, AllocLengthAccessor.AllocLengthMutator, AllocLengthAccessor.AllocLengthProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letAllocLength
(int aAllocLength) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofAllocLengthAccessor.AllocLengthMutator.setAllocLength(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.serial.AllocLengthAccessor
getAllocLength
Methods inherited from interface org.refcodes.serial.AllocLengthAccessor.AllocLengthMutator
setAllocLength
-
Method Details
-
letAllocLength
default int letAllocLength(int aAllocLength) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofAllocLengthAccessor.AllocLengthMutator.setAllocLength(int)
and returns the very same value (getter).- Parameters:
aAllocLength
- The integer to set (viaAllocLengthAccessor.AllocLengthMutator.setAllocLength(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-