Java ThreadLocalRandom getThreadLocalRandom()

Here you can find the source of getThreadLocalRandom()

Description

get Thread Local Random

License

Apache License

Declaration

public static ThreadLocalRandom getThreadLocalRandom() 

Method Source Code

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

import java.util.concurrent.ThreadLocalRandom;

public class Main {
    public static ThreadLocalRandom getThreadLocalRandom() {
        return ThreadLocalRandom.current();
    }//from ww w .ja  v a 2s.com
}

Related

  1. getRandomStr(int len)
  2. getRandomString(int length)
  3. getRandomTarget(List targets)
  4. getRandomValue(String prefix, long maxValue)
  5. getTempPersistFileName(String baseFileName)
  6. isRandomOccurrence(int pcLikelihood)
  7. moveInRadius(double[] position, double radius)
  8. parseSeed(String seedString)
  9. rand(final Collection items)