- All Superinterfaces:
LengthAccessor
,LengthAccessor.LengthMutator
- Enclosing interface:
- LengthAccessor
public static interface LengthAccessor.LengthProperty
extends LengthAccessor, LengthAccessor.LengthMutator
Provides a length property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.LengthAccessor
LengthAccessor.LengthBuilder<B extends LengthAccessor.LengthBuilder<B>>, LengthAccessor.LengthMutator, LengthAccessor.LengthProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letLength
(int aLength) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofLengthAccessor.LengthMutator.setLength(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.LengthAccessor
getLength
Methods inherited from interface org.refcodes.mixin.LengthAccessor.LengthMutator
setLength
-
Method Details
-
letLength
default int letLength(int aLength) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofLengthAccessor.LengthMutator.setLength(int)
and returns the very same value (getter).- Parameters:
aLength
- The integer to set (viaLengthAccessor.LengthMutator.setLength(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-