T - 字段类型public class PartitionIter<T> extends Object implements IterableIter<List<T>>, Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
protected Iterator<T> |
iterator
被分批的迭代器
|
protected int |
partitionSize
实际每批大小
|
| 构造器和说明 |
|---|
PartitionIter(Iterator<T> iterator,
int partitionSize)
创建分组对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasNext() |
List<T> |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititeratorforEach, spliteratorforEachRemaining, removeCopyright © 2022. All rights reserved.