E - type of the elementspublic class ShuffledList<E> extends AbstractImmutableList<E>
| Constructor and Description |
|---|
ShuffledList(ImmutableList<E> l) |
| Modifier and Type | Method and Description |
|---|---|
E |
get(java.math.BigInteger index)
This call can be expensive.
|
java.math.BigInteger |
size() |
get, iterator, toStringpublic ShuffledList(ImmutableList<E> l)
l - list to shuffle. size must be ≤ 2^31.public E get(java.math.BigInteger index)
index - index of the element to returnpublic java.math.BigInteger size()