MCPcopy Create free account
hub / github.com/Snapchat/Valdi / newMap

Method newMap

valdi/src/valdi/android/JavaValueDelegate.cpp:177–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177JavaValue JavaValueDelegate::newMap(size_t capacity, Valdi::ExceptionTracker& exceptionTracker) {
178 auto& cache = JavaEnv::getCache();
179 return JavaValue::makeObject(cache.getHashMapClass().newObject(cache.getHashMapConstructorMethod()));
180}
181
182void JavaValueDelegate::setMapEntry(const JavaValue& map,
183 const JavaValue& key,

Callers 2

unmarshallMethod · 0.45
unmarshallMethod · 0.45

Calls 2

makeObjectFunction · 0.85
newObjectMethod · 0.45

Tested by

no test coverage detected