public final class BitMixer
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
mix(byte k)
Mix a byte.
|
static int |
mix(byte k,
int seed)
Mix a byte perturbated by a seed.
|
static int |
mix(char k)
Mix a char.
|
static int |
mix(char k,
int seed)
Mix a char perturbated by a seed.
|
static int |
mix(double x)
Mix a double.
|
static int |
mix(double x,
int seed)
Mix a double perturbated by a seed.
|
static int |
mix(float x)
Mix a float.
|
static int |
mix(float x,
int seed)
Mix a float perturbated by a seed.
|
static int |
mix(int key)
Mix an int.
|
static int |
mix(int k,
int seed)
Mix an int perturbated by a seed.
|
static int |
mix(long z)
Mix a long.
|
static int |
mix(long z,
int seed)
Mix a long perturbated by a seed.
|
static int |
mix(java.lang.Object key)
Mix an Object instance
Object.hashCode(). |
static int |
mix(short k)
Mix a short.
|
static int |
mix(short k,
int seed)
Mix a short perturbated by a seed.
|
public static int mix(byte k)
k - a byte.k.public static int mix(byte k,
int seed)
k - a byte.seed - a perturbation valuek.public static int mix(short k)
k - a short.k.public static int mix(short k,
int seed)
k - a short.seed - a perturbation valuek.public static int mix(char k)
k - a char.k.public static int mix(char k,
int seed)
k - a char.seed - a perturbation valuek.public static int mix(int key)
k - an integer.seed - a perturbation valuek.public static int mix(int k,
int seed)
k - an integer.seed - a perturbation valuek.public static int mix(float x)
x - a float.seed - a perturbation valuex.public static int mix(float x,
int seed)
x - a float.seed - a perturbation valuex.public static int mix(double x)
x - a double.x.public static int mix(double x,
int seed)
x - a double.seed - a perturbation valuex.public static int mix(long z)
z - a long integer.seed - a perturbation valuez.public static int mix(long z,
int seed)
z - a long integer.seed - a perturbation valuez.public static int mix(java.lang.Object key)
Object.hashCode().key - an Object instance.key.hashCode(), or 0 if key is null.Copyright © 2017. All rights reserved.