- All Superinterfaces:
SizeAccessor
,SizeAccessor.SizeMutator
- Enclosing interface:
- SizeAccessor
Provides a size property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.SizeAccessor
SizeAccessor.SizeBuilder<B extends SizeAccessor.SizeBuilder<B>>, SizeAccessor.SizeMutator, SizeAccessor.SizeProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letSize
(int aSize) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofSizeAccessor.SizeMutator.setSize(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.SizeAccessor
getSize
Methods inherited from interface org.refcodes.mixin.SizeAccessor.SizeMutator
setSize
-
Method Details
-
letSize
default int letSize(int aSize) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofSizeAccessor.SizeMutator.setSize(int)
and returns the very same value (getter).- Parameters:
aSize
- The integer to set (viaSizeAccessor.SizeMutator.setSize(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-