Exemple #1
0
        public static RandomWrapper getRandom(long seed)
        {
            RandomWrapper wrapper = new RandomWrapper(seed);

            INSTANCES[wrapper] = true;
            return(wrapper);
        }
Exemple #2
0
        public static RandomWrapper getRandom()
        {
            RandomWrapper wrapper = new RandomWrapper();

            if (testSeed)
            {
                wrapper.resetToTestSeed();
            }
            INSTANCES[wrapper] = true;
            return(wrapper);
        }