MCPcopy Create free account
hub / github.com/cinit/TMoe / entrySet

Method entrySet

app/src/main/cpp/utils/HashMap.h:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 [[nodiscard]] std::set<std::shared_ptr<Entry>> entrySet() const {
61 std::set<std::shared_ptr<Entry>> copy = std::set<std::shared_ptr<Entry>>();
62 for (const auto &entry: backend) {
63 copy.emplace(entry.second);
64 }
65 return copy;
66 }
67
68 [[nodiscard]] size_t size() const {
69 return backend.size();

Callers 2

HashMapMethod · 0.45
putAllMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected