public static class MurmurHash3.IncrementalHash32x86
extends java.lang.Object
This is an implementation of the 32-bit hash function MurmurHash3_x86_32
from Austin Appleby's original MurmurHash3 c++ code in SMHasher.
| Constructor and Description |
|---|
IncrementalHash32x86() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(byte[] data,
int offset,
int length)
Adds the byte array to the current incremental hash.
|
int |
end()
Generates the 32-bit hash value.
|
void |
start(int seed)
Starts a new incremental hash.
|
public final void start(int seed)
seed - The initial seed valuepublic final void add(byte[] data,
int offset,
int length)
data - The input byte arrayoffset - The offset of datalength - The length of arraypublic final int end()
Copyright © 2010 - 2023 Adobe. All Rights Reserved