MCPcopy Create free account
hub / github.com/antlr/codebuff / newConcurrentMap

Method newConcurrentMap

output/java_guava/1.4.16/Maps.java:323–325  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Callers 1

SubscriberRegistryClass · 0.95

Calls 1

makeMapMethod · 0.45

Tested by

no test coverage detected