Builds a thread-safe map. This method does not alter the state of this MapMaker instance, so it can be invoked again to create multiple independent maps. The bulk operations putAll, equals, and clear are not guaranteed to be performed atomically on the returned ma
()
| 278 | |
| 279 | |
| 280 | public <K, V> ConcurrentMap<K, V> makeMap() { |
| 281 | if (!useCustomMap) { |
| 282 | return new ConcurrentHashMap<K, V>(getInitialCapacity(), 0.75f, getConcurrencyLevel()); |
| 283 | } |
| 284 | return new MapMakerInternalMap<K, V>(this); |
| 285 | } |
| 286 | |
| 287 | /** |
| 288 | * Returns a MapMakerInternalMap for the benefit of internal callers that use features of that |
no test coverage detected