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

Method getMapEstimatedLength

valdi/src/valdi/android/JavaValueDelegate.cpp:190–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 Valdi::ExceptionTracker& exceptionTracker) {
189 return std::move(ValdiAndroid::toJavaObject(JavaEnv(), value).getValue());
190}
191
192JavaValue JavaValueDelegate::newMap(size_t capacity, Valdi::ExceptionTracker& exceptionTracker) {
193 auto& cache = JavaEnv::getCache();
194 return JavaValue::makeObject(cache.getHashMapClass().newObject(cache.getHashMapConstructorMethod()));
195}
196

Callers 1

marshallMethod · 0.45

Calls 2

javaValueToObjectFunction · 0.85
callMethod · 0.65

Tested by

no test coverage detected