| 程序包 | 说明 |
|---|---|
| com.github.jarvisframework.tool.core.collection |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> void |
CollectionUtils.forEach(Enumeration<T> enumeration,
CollectionUtils.Consumer<T> consumer)
循环遍历
Enumeration,使用CollectionUtils.Consumer 接受遍历的每条数据,并针对每条数据做处理 |
static <T> void |
CollectionUtils.forEach(Iterator<T> iterator,
CollectionUtils.Consumer<T> consumer)
循环遍历
Iterator,使用CollectionUtils.Consumer 接受遍历的每条数据,并针对每条数据做处理 |
Copyright © 2020. All rights reserved.