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

Method IndexMap

src/main/java/pascal/taie/util/collection/IndexMap.java:72–75  ·  view source on GitHub ↗
(Indexer<K> indexer, int initialCapacity)

Source from the content-addressed store, hash-verified

70 private transient Set<K> keySet;
71
72 public IndexMap(Indexer<K> indexer, int initialCapacity) {
73 this.indexer = indexer;
74 this.values = (V[]) new Object[initialCapacity];
75 }
76
77 public int capacity() {
78 return values.length;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected