@InterfaceAudience.Private public class ConcatenatedLists<T> extends AbstractCollection<T>
Modifier and Type | Class and Description |
---|---|
class |
ConcatenatedLists.Iterator |
Modifier and Type | Field and Description |
---|---|
protected ArrayList<List<T>> |
components |
protected int |
size |
Constructor and Description |
---|
ConcatenatedLists() |
Modifier and Type | Method and Description |
---|---|
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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode
public int size()
size
in interface Collection<T>
size
in class AbstractCollection<T>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.