Sets the comparison function. This function is deprecated!
(CompareCallback cmp)
| 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 |