- Type Parameters:
V
- The type of the maximum value property.
- All Superinterfaces:
MaxValueAccessor<V>
,MaxValueAccessor.MaxValueMutator<V>
- Enclosing interface:
- MaxValueAccessor<V>
public static interface MaxValueAccessor.MaxValueProperty<V>
extends MaxValueAccessor<V>, MaxValueAccessor.MaxValueMutator<V>
Extends the
MaxValueAccessor
with a setter method.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.MaxValueAccessor
MaxValueAccessor.MaxValueBuilder<V,
B extends MaxValueAccessor.MaxValueBuilder<V, B>>, MaxValueAccessor.MaxValueMutator<V>, MaxValueAccessor.MaxValueProperty<V> -
Method Summary
Modifier and TypeMethodDescriptiondefault V
letMaxValue
(V aMaxValue) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofMaxValueAccessor.MaxValueMutator.setMaxValue(Object)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.MaxValueAccessor
getMaxValue
Methods inherited from interface org.refcodes.mixin.MaxValueAccessor.MaxValueMutator
setMaxValue
-
Method Details
-
letMaxValue
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofMaxValueAccessor.MaxValueMutator.setMaxValue(Object)
and returns the very same value (getter).- Parameters:
aMaxValue
- The value to set (viaMaxValueAccessor.MaxValueMutator.setMaxValue(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-