T - 元素类型public class RandomAccessPartition<T> extends Partition<T> implements RandomAccess
modCount| 构造器和说明 |
|---|
RandomAccessPartition(List<T> list,
int size)
构造
|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringaddAll, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic RandomAccessPartition(List<T> list, int size)
list - 被分区的列表,必须实现RandomAccesssize - 每个分区的长度Copyright © 2024. All rights reserved.