Package com.carrotsearch.hppc

Examples of com.carrotsearch.hppc.XorShiftRandom.nextInt()


    {
        final Random rnd = new XorShiftRandom(0xdeadbeef);
        final int [] data = new int [10000];

        for (int i = 0; i < data.length; i++)
            data[i] = rnd.nextInt(0x100);

        int [] order = IndirectSort.mergesort(0, data.length, new IndirectComparator()
        {
            public int compare(int indexA, int indexB)
            {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.