Interface RandomNumberEngine
- All Superinterfaces:
 AutoCloseable,Comparable<JoltPhysicsObject>,ConstJoltPhysicsObject
- All Known Implementing Classes:
 DefaultRandomEngine,Mt19937
Interface to a pseudo-random number engine.
- 
Method Summary
Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa 
- 
Method Details
- 
nextInt
int nextInt()Return the next integer in the sequence.- Returns:
 - an integer value
 
 - 
seed
void seed(int value) Seed the engine with the specified value.- Parameters:
 value- the value to use
 
 -