public interface CloneableRandomStream extends RandomStream, java.lang.Cloneable
CloneableRandomStream extends RandomStream and Cloneable.
All classes that implements this interface are able to produce cloned objects.
The cloned object is entirely independent of the older odject. Moreover the cloned object has all the same properties as the older one. All his seeds are duplicated, and therefore both generators will produce the same random number sequence.
| Modifier and Type | Method and Description |
|---|---|
CloneableRandomStream |
clone()
Clones the current object and returns its copy.
|
nextArrayOfDouble, nextArrayOfInt, nextDouble, nextInt, resetNextSubstream, resetStartStream, resetStartSubstream, toStringCloneableRandomStream clone()
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.