| 
 | Berkeley DB version 4.3.27 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An application-specified, database hash function.
| Method Summary | |
|  int | hash(Database db,
     byte[] data,
     int len)An application-specified, database-specific hash function. | 
| Method Detail | 
public int hash(Database db,
                byte[] data,
                int len)
The hash function must handle any key values used by the application (possibly including zero-length keys).
db - The enclosing database handle.data - The byte string to be hashed.len - The length of the byte string in bytes.
    
| 
 | Berkeley DB version 4.3.27 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||