| 程序包 | 说明 |
|---|---|
| com.xiaoleilu.hutool.util |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> void |
CollectionUtil.forEach(Map<K,V> map,
CollectionUtil.KVConsumer<K,V> kvConsumer)
循环遍历Map,使用
CollectionUtil.KVConsumer 接受遍历的每条数据,并针对每条数据做处理 |
Copyright © 2017. All rights reserved.