MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / Comparator

Class Comparator

Bcore/src/main/cpp/dex/dex_file_reference.h:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 uint32_t index;
31
32 struct Comparator {
33 bool operator()(const DexFileReference& a, const DexFileReference& b) const {
34 if (a.dex_file != b.dex_file) {
35 return a.dex_file < b.dex_file;
36 }
37 return a.index < b.index;
38 }
39 };
40};
41
42// Default comparators, compares the indicies, not the backing data.

Callers 1

operator<Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected