E - type of the elementspublic class FlatList<E> extends AbstractImmutableList<E>
| Constructor and Description | 
|---|
| FlatList(ImmutableList<ImmutableList<E>> list)gives a list of the form [a1,a2,...,an] | 
| Modifier and Type | Method and Description | 
|---|---|
| E | get(java.math.BigInteger index)Returns the element at the specified position in this list. | 
| java.math.BigInteger | size() | 
get, iterator, toStringpublic FlatList(ImmutableList<ImmutableList<E>> list)
list - a list of form [[a1],[a2],[a2]...[an]]public E get(java.math.BigInteger index)
ImmutableListindex - index of the element to returnpublic java.math.BigInteger size()