public interface MapSupplier
| Modifier and Type | Method and Description |
|---|---|
<K,V> Map<K,V> |
supply(int size)
Supplies map of the given key and value types and (initial) size.
|
@NotNull <K,V> Map<K,V> supply(int size)
K - key typeV - value typesize - the (initial) size of the returned map, if supported by the map implementation returnedCopyright © 2022. All rights reserved.