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

Method createAsMap

output/java_guava/1.4.18/AtomicLongMap.java:320–329  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

318 }
319
320 private Map<K, Long> createAsMap() {
321 return Collections.unmodifiableMap(Maps.transformValues(
322map,
323new Function<AtomicLong, Long>() {
324 @Override
325 public Long apply(AtomicLong atomic) {
326 return atomic.get();
327 }
328}));
329 }
330
331 /**
332 * Returns true if this map contains a mapping for the specified key.

Callers 1

asMapMethod · 0.95

Calls 2

transformValuesMethod · 0.95
unmodifiableMapMethod · 0.45

Tested by

no test coverage detected