@InterfaceAudience.Private public class ConcatenatedLists<T> extends AbstractCollection<T>
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConcatenatedLists.Iterator |
| 限定符和类型 | 字段和说明 |
|---|---|
protected ArrayList<List<T>> |
components |
protected int |
size |
| 构造器和说明 |
|---|
ConcatenatedLists() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAllSublists(List<? extends List<T>> items) |
void |
addSublist(List<T> items) |
Iterator<T> |
iterator() |
int |
size() |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCodepublic int size()
size 在接口中 Collection<T>size 在类中 AbstractCollection<T>Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.