Class RandomManager

java.lang.Object
es.urjc.etsii.grafo.util.random.RandomManager

public final class RandomManager extends Object
Multi-thread aware random manager
  • Constructor Details

    • RandomManager

      public RandomManager()
  • Method Details

    • getRandom

      public static RandomGenerator getRandom()
      Get RandomGenerator for the current thread. The returned RandomGenerator is not guaranteed to be thread safe, and should only be used in the calling thread.
      Returns:
      RandomGenerator for the current thread