Returns a general-purpose instance of ConcurrentMap, which supports all optional operations of the ConcurrentMap interface. It does not permit null keys or values. It is serializable. This is currently accomplished by calling MapMaker#makeMap(). It is preferable to use {@code
()
| 321 | |
| 322 | |
| 323 | public static <K, V> ConcurrentMap<K, V> newConcurrentMap() { |
| 324 | return new MapMaker().<K, V>makeMap(); |
| 325 | } |
| 326 | |
| 327 | /** |
| 328 | * Creates a <i>mutable</i>, empty {@code TreeMap} instance using the natural |
no test coverage detected