public class MetroHash extends Object
官方实现:https://github.com/jandrewrogers/MetroHash 官方文档:http://www.jandrewrogers.com/2015/05/27/metrohash/ Go语言实现:https://github.com/linvon/cuckoo-filter/blob/main/vendor/github.com/dgryski/go-metro/
Constructor and Description |
---|
MetroHash() |
Modifier and Type | Method and Description |
---|---|
static Number128 |
hash128(byte[] data) |
static Number128 |
hash128(byte[] data,
long seed) |
static long |
hash64(byte[] data) |
static long |
hash64(byte[] data,
long seed) |
Copyright © 2024. All rights reserved.