-
- All Superinterfaces:
DisposedAccessor
,DisposedAccessor.DisposedMutator
- Enclosing interface:
- DisposedAccessor
public static interface DisposedAccessor.DisposedProperty extends DisposedAccessor, DisposedAccessor.DisposedMutator
Provides a mutator for a dispose property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.DisposedAccessor
DisposedAccessor.DisposedMutator, DisposedAccessor.DisposedProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
letDisposed(boolean isDisposed)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as ofDisposedAccessor.DisposedMutator.setDisposed(boolean)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.mixin.DisposedAccessor
isDisposed
-
Methods inherited from interface org.refcodes.mixin.DisposedAccessor.DisposedMutator
setDisposed
-
-
-
-
Method Detail
-
letDisposed
default boolean letDisposed(boolean isDisposed)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as ofDisposedAccessor.DisposedMutator.setDisposed(boolean)
and returns the very same value (getter).- Parameters:
isDisposed
- The boolean to set (viaDisposedAccessor.DisposedMutator.setDisposed(boolean)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-