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, toString
public FlatList(ImmutableList<ImmutableList<E>> list)
list
- a list of form [[a1],[a2],[a2]...[an]]public E get(java.math.BigInteger index)
ImmutableList
index
- index of the element to returnpublic java.math.BigInteger size()