70 строки
4.9 KiB
YAML
70 строки
4.9 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.documentdb.MurmurHash"
|
|
fullName: "com.microsoft.azure.documentdb.MurmurHash"
|
|
name: "MurmurHash"
|
|
nameWithType: "MurmurHash"
|
|
summary: "The Murmur<wbr>Hash3 algorithm was created by Austin Appleby and placed in the public domain."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public final class **MurmurHash**</br> implements <xref href=\"com.microsoft.azure.documentdb.HashGenerator?alt=com.microsoft.azure.documentdb.HashGenerator&text=HashGenerator\" data-throw-if-not-resolved=\"False\" />"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.documentdb.MurmurHash.MurmurHash()"
|
|
fullName: "com.microsoft.azure.documentdb.MurmurHash.MurmurHash()"
|
|
name: "MurmurHash()"
|
|
nameWithType: "MurmurHash.MurmurHash()"
|
|
syntax: "public MurmurHash()"
|
|
methods:
|
|
- uid: "com.microsoft.azure.documentdb.MurmurHash.computeHash(byte[])"
|
|
fullName: "com.microsoft.azure.documentdb.MurmurHash.computeHash(byte[] data)"
|
|
name: "computeHash(byte[] data)"
|
|
nameWithType: "MurmurHash.computeHash(byte[] data)"
|
|
parameters:
|
|
- name: "data"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
syntax: "public byte[] computeHash(byte[] data)"
|
|
returns:
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
- uid: "com.microsoft.azure.documentdb.MurmurHash.computeHash(byte[],int,int)"
|
|
fullName: "com.microsoft.azure.documentdb.MurmurHash.computeHash(byte[] data, int len, int seed)"
|
|
name: "computeHash(byte[] data, int len, int seed)"
|
|
nameWithType: "MurmurHash.computeHash(byte[] data, int len, int seed)"
|
|
summary: "Returns the Murmur<wbr>Hash3\\_x86\\_32 hash."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "a byte array containing the data to be hashed"
|
|
name: "data"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
- description: "an integer indicating the length of data"
|
|
name: "len"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "an integer to be used as hash seed"
|
|
name: "seed"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static int computeHash(byte[] data, int len, int seed)"
|
|
desc: "Returns the MurmurHash3\\_x86\\_32 hash."
|
|
returns:
|
|
description: "the hash value"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The MurmurHash3 algorithm was created by Austin Appleby and placed in the public domain. This java port was authored by Yonik Seeley and also placed into the public domain. The author hereby disclaims copyright to this source code.\n\nThis produces exactly the same hash values as the final C++ version of MurmurHash3 and is thus suitable for producing the same hash values across platforms.\n\nThe 32 bit x86 version of this hash should be the fastest variant for relatively short keys like ids. See http://github.com/yonik/java\\_util for future updates to this file."
|
|
implements:
|
|
- "<xref href=\"com.microsoft.azure.documentdb.HashGenerator?alt=com.microsoft.azure.documentdb.HashGenerator&text=HashGenerator\" data-throw-if-not-resolved=\"False\" />"
|
|
metadata: {}
|
|
package: "com.microsoft.azure.documentdb"
|
|
artifact: com.microsoft.azure:azure-documentdb:2.4.7
|