接口 Decorator<T>
- 所有已知子接口:
TaskDecorator
public interface Decorator<T>
A callback interface for a decorator to be applied to any
T- 从以下版本开始:
- 4.0 2023/10/12 21:26
- 作者:
- Harry Yang
-
方法概要
-
方法详细资料
-
decorate
Decorate the givendelegate, returning a potentially wrappeddelegatefor actual execution, internally delegating to the original methods implementation.- 参数:
delegate- the originaldelegate- 返回:
- the decorated object
-
andThen
call it after this decoration
-