- All Superinterfaces:
TrimAccessor
,TrimAccessor.TrimMutator
- Enclosing interface:
- TrimAccessor
Provides a trim property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.TrimAccessor
TrimAccessor.TrimBuilder<B extends TrimAccessor.TrimBuilder<B>>, TrimAccessor.TrimMutator, TrimAccessor.TrimProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
letTrim
(boolean isTrim) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as ofTrimAccessor.TrimMutator.setTrim(boolean)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.TrimAccessor
isTrim
Methods inherited from interface org.refcodes.mixin.TrimAccessor.TrimMutator
setTrim
-
Method Details
-
letTrim
default boolean letTrim(boolean isTrim) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as ofTrimAccessor.TrimMutator.setTrim(boolean)
and returns the very same value (getter).- Parameters:
isTrim
- The boolean to set (viaTrimAccessor.TrimMutator.setTrim(boolean)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-