MCPcopy Create free account
hub / github.com/RealTimeGenomics/rtg-tools / putBase

Method putBase

src/main/java/com/rtg/util/MultiMap.java:103–105  ·  view source on GitHub ↗
(final K key)

Source from the content-addressed store, hash-verified

101 }
102
103 private Collection<V> putBase(final K key) {
104 return mMap.computeIfAbsent(key, k -> mFactory.createCollection());
105 }
106
107 /**
108 * Adds an empty collection if it does not already exist for the given key.

Callers 1

putMethod · 0.95

Calls 1

createCollectionMethod · 0.65

Tested by

no test coverage detected