public static int nextRandomInt() {
        return rand.nextInt();
    }
Generates a pseudorandom, uniformly-distributed {@code int} value.

@return The next pseudorandom {@code int} value.
jme3-core/src/main/java/com/jme3/math/FastMath.java