MCPcopy Create free account
hub / github.com/LFYSec/MScan / get

Method get

src/main/java/pascal/taie/util/collection/IndexMap.java:101–105  ·  view source on GitHub ↗
(Object key)

Source from the content-addressed store, hash-verified

99 }
100
101 @Override
102 public V get(Object key) {
103 int index = indexer.getIndex((K) key);
104 return isValidIndex(index) ? values[index] : null;
105 }
106
107 @Override
108 public V put(K key, V value) {

Callers 1

testMapExpansionMethod · 0.95

Calls 2

isValidIndexMethod · 0.95
getIndexMethod · 0.65

Tested by 1

testMapExpansionMethod · 0.76