MCPcopy Create free account
hub / github.com/cruppstahl/upscaledb / registerCompare

Method registerCompare

java/java/de/crupp/upscaledb/Database.java:101–103  ·  view source on GitHub ↗

Registers a custom compare function. This method wraps the native ups_register_compare function.

(String name, CompareCallback cmp)

Source from the content-addressed store, hash-verified

99 * This method wraps the native ups_register_compare function.
100 */
101 public static void registerCompare(String name, CompareCallback cmp) {
102 ups_register_compare(name, cmp);
103 }
104
105 /**
106 * Constructor - creates a Database object

Callers 1

testSetComparator1Method · 0.95

Calls 1

ups_register_compareMethod · 0.95

Tested by 1

testSetComparator1Method · 0.76