T
- The type of the mode to be accessed.ModeAccessor<T>
, ModeAccessor.ModeMutator<T>
public static interface ModeAccessor.ModeProperty<T> extends ModeAccessor<T>, ModeAccessor.ModeMutator<T>
ModeAccessor.ModeMutator<T>, ModeAccessor.ModeProperty<T>
Modifier and Type | Method | Description |
---|---|---|
default T |
letMode(T aMode) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given value (setter) as of
ModeAccessor.ModeMutator.setMode(Object) and returns the very same value (getter). |
getMode
setMode
default T letMode(T aMode)
ModeAccessor.ModeMutator.setMode(Object)
and returns the very same value (getter).aMode
- The value to set (via ModeAccessor.ModeMutator.setMode(Object)
).Copyright © 2021. All rights reserved.