T - type of elements heldpublic interface RandomisableList<T> extends List<T>
| Modifier and Type | Method and Description |
|---|---|
RandomisableList<T> |
randomSubList(int nelem)
Extract a sublist made up of nelem elements from the this list.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streamRandomisableList<T> randomSubList(int nelem)
nelem - number of elements to extract