public interface ListSupplier
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
supply(int size)
Supplies list of the given type and (initial) size.
|
@NotNull <T> List<T> supply(int size)
T - the type of the listsize - the (initial) size of the returned list, if supported by the list implementation returnedCopyright © 2022. All rights reserved.