T
- 字段类型public class PartitionIter<T> extends Object implements IterableIter<List<T>>, Serializable
Modifier and Type | Field and Description |
---|---|
protected Iterator<T> |
iterator
被分批的迭代器
|
protected int |
partitionSize
实际每批大小
|
Constructor and Description |
---|
PartitionIter(Iterator<T> iterator,
int partitionSize)
创建分组对象
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
List<T> |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
iterator
forEach, spliterator
forEachRemaining, remove
Copyright © 2024. All rights reserved.