Java Random randRandom(Random random)

Here you can find the source of randRandom(Random random)

Description

rand Random

License

Open Source License

Declaration

public static Random randRandom(Random random) 

Method Source Code

//package com.java2s;
//License from project: MIT License 

import java.util.*;

public class Main {
    public static Random randRandom(Random random) {
        return new Random(random.nextInt(Integer.MAX_VALUE));
    }/*  ww  w  . j a va  2s. c  o  m*/
}

Related

  1. randomSuccess()
  2. randomUniformUniqueIntegerList(int sz)
  3. randomValue()
  4. randomValue(T[] array)
  5. randomVector(int size)
  6. randRange(float from, float to)
  7. randRangeDecimal(float min, float max)
  8. resetRandomGenerator()
  9. runProbability(Random rng, float[] probs, D[] choices)