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

Method setComparator

java/java/de/crupp/upscaledb/Database.java:131–134  ·  view source on GitHub ↗

Sets the comparison function. This function is deprecated!

(CompareCallback cmp)

Source from the content-addressed store, hash-verified

129 * This function is deprecated!
130 */
131 public void setComparator(CompareCallback cmp) {
132 m_cmp = cmp;
133 ups_db_set_compare_func(m_handle, m_cmp);
134 }
135
136 /**
137 * Searches an item in the Database, returns the record

Callers 2

testSetComparator2Method · 0.95
testSetComparatorMethod · 0.80

Calls 1

Tested by 2

testSetComparator2Method · 0.76
testSetComparatorMethod · 0.64