Package org.apache.ignite.internal.util
Class GridRandom
- java.lang.Object
-
- java.util.Random
-
- org.apache.ignite.internal.util.GridRandom
-
- All Implemented Interfaces:
Serializable
public class GridRandom extends Random
Random to be used from a single thread. Compatible withRandombut faster.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridRandom()Default constructor.GridRandom(long seed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intnext(int bits)voidsetSeed(long seed)
-