package com.sdsmdg.kd.trianglify.utilities;

/**
 * <h1>Thread Local Random</h1>
 * <b>Description : Generates Random numbers that are local to a thread thus reducing instructions
 *                  needed to generate a random number.</b>
 *
 * @author suyash
 * @since 2/5/17.
 */

public class ThreadLocalRandom {
    long seed = 0x5DEECE66DL;

    public ThreadLocalRandom(){

    }

    /**
     * Generates a psuedoRandom integer that have computational costs of several instructions less
     * then that of java.util.random.nextInt().
     * @param mod limit for generation of pseudo random number
     * @return Random number between 0 and mod (exclusive)
     */
    public int nextInt(int mod) {
        seed = (seed * 0x5DEECE66DL + 0xBL) & ((1L << 48) - 1);
        return (int)(seed%mod);
    }

}

@@ -436,18 +436,17 @@
  that ha
-ve
+s
  computa
@@ -496,17 +496,17 @@
     * th
-e
+a
 n that o

Fix typos in doc comments