T
- 元素类型public class RandomAccessPartition<T> extends Partition<T> implements RandomAccess
modCount
Constructor and Description |
---|
RandomAccessPartition(List<T> list,
int size)
构造
|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public RandomAccessPartition(List<T> list, int size)
list
- 被分区的列表,必须实现RandomAccess
size
- 每个分区的长度Copyright © 2024. All rights reserved.