Top Description Constructors Methods
com.mchange.v2.util

public final Class XORShiftRandomUtils

extends Object
Class Inheritance

A not-cryptographically-strong but decent and very fast pseudorandom number generator. Algorithm can be inlined easily for speed. Algorithm taken from... http://javamex.com/tutorials/random_numbers/xorshift.shtml

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
main(String[] argv)

public static long
nextLong(long prev)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

XORShiftRandomUtilsback to summary
public XORShiftRandomUtils()

Method Detail

mainback to summary
public static void main(String[] argv)
nextLongback to summary
public static long nextLong(long prev)