T
- 处理参数类型@FunctionalInterface public static interface CollUtil.Consumer<T> extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
accept(T value,
int index)
接受并处理一个参数
|
void accept(T value, int index)
value
- 参数值index
- 参数在集合中的索引Copyright © 2024. All rights reserved.