|
Berkeley DB version 4.2.52 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface specifying a hashing function, which imposes a total ordering on the Hash database.
Method Summary | |
int |
hash(Db db,
byte[] data,
int len)
The DbHash interface is used by the Db.setHash method. |
Method Detail |
public int hash(Db db, byte[] data, int len)
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.2.52 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |