T - 元素类型public class Partition<T> extends AbstractList<List<T>>
| Modifier and Type | Field and Description |
|---|---|
protected List<T> |
list
被分区的列表
|
protected int |
size
每个分区的长度
|
modCount| Modifier and Type | Method and Description |
|---|---|
List<T> |
get(int index) |
boolean |
isEmpty() |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streamCopyright © 2025. All rights reserved.