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

Method getEntry

src/main/java/pascal/taie/util/collection/ArrayMap.java:129–136  ·  view source on GitHub ↗
(Object key)

Source from the content-addressed store, hash-verified

127 }
128
129 private Entry<K, V> getEntry(Object key) {
130 for (Entry<K, V> e : entries) {
131 if (e.getKey().equals(key)) {
132 return e;
133 }
134 }
135 return null;
136 }
137
138 private void ensureCapacity(int minCapacity) {
139 if (fixedCapacity && minCapacity > initialCapacity) {

Callers 3

containsKeyMethod · 0.95
getMethod · 0.95
putMethod · 0.95

Calls 2

equalsMethod · 0.45
getKeyMethod · 0.45

Tested by

no test coverage detected