Package org.apache.lucene.util
Class SmartRandom
- java.lang.Object
-
- java.util.Random
-
- org.apache.lucene.util.SmartRandom
-
- All Implemented Interfaces:
Serializable
public class SmartRandom extends Random
A random that tracks if its been initialized properly, and throws an exception if it hasn't.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
next(int bits)
-