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