Interface Binder<K>
- Type Parameters:
K- 绑定键的类型
public interface Binder<K>
binder 接口
- Since:
- 2022-04-13
- Author:
- Cody Lu
-
Method Summary
Modifier and TypeMethodDescription<T> voidbind(T target) 绑定单个对象<T> voidbindBatch(Collection<T> targets) 批量绑定一组对象
-
Method Details
-
bind
<T> void bind(T target) 绑定单个对象- Type Parameters:
T- 目标对象类型- Parameters:
target- 要绑定的目标对象
-
bindBatch
批量绑定一组对象- Type Parameters:
T- 目标对象类型- Parameters:
targets- 要绑定的目标对象集合
-