MCPcopy Index your code
hub / github.com/apache/groovy / toMap

Method toMap

src/main/java/org/codehaus/groovy/util/ListHashMap.java:223–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221 }
222
223 private Map<K,V> toMap() {
224 Map<K,V> m = new HashMap<>((int) (size / 0.75) + 1);
225 for (int i = 0; i < size; i += 1) {
226 m.put(keys[i], values[i]);
227 }
228 return m;
229 }
230
231 /** {@inheritDoc} */
232 @Override

Callers 8

entrySetMethod · 0.95
keySetMethod · 0.95
putMethod · 0.95
valuesMethod · 0.95
CallTypeEnum · 0.45
doFindClassesMethod · 0.45
getImportMethod · 0.45

Calls 1

putMethod · 0.65

Tested by

no test coverage detected