HashUtil

public class HashUtil

Class HashUtil. Provides hashutil functionality for the Hytale server.

java.lang.Object > HashUtil

Field Summary

No fields documented.

Method Detail

hash

static long hash (long v)

Method hash.

Parameters:
long v

rehash

static long rehash (final long l1)

Method rehash.

Parameters:
final long l1

random

static double random (final long l1)

Method random.

Parameters:
final long l1

hashToRandomDouble

public return hashToRandomDouble (rehash(l1)

Method hashToRandomDouble.

Parameters:
rehash(l1 rehash(l1

randomInt

static int randomInt (final long l1, final long l2, final long l3, final int bound)

Method randomInt.

Parameters:
final long l1
final long l2
final long l3
final int bound

hashUuid

static long hashUuid (@Nonnull final UUID uuid)

Method hashUuid.

Parameters:
@Nonnull final UUID uuid

HashUtil

public private HashUtil ()

Method HashUtil.